diff options
author | Ignacio Rodríguez <ignaciorodriguez@sugarlabs.org> | 2013-05-07 18:45:58 (GMT) |
---|---|---|
committer | Ignacio Rodríguez <ignaciorodriguez@sugarlabs.org> | 2013-05-07 18:45:58 (GMT) |
commit | bf49d25dc8d851a04f046258f58a5f5cbb37bfee (patch) | |
tree | 30b3192848169d0c34213299b5c7288fe36e66dc | |
parent | f4dbec76e4f312b68d65461a788ebd6a30cdde05 (diff) |
Tamaño.
-rw-r--r-- | Box1.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -5,6 +5,7 @@ # Ignacio Rodríguez <nachoel01@gmail.com> from gi.repository import Gtk +from gi.repository import Gdk from Widgets import Marcadores class Box1(Gtk.Box): @@ -12,6 +13,10 @@ class Box1(Gtk.Box): super(Box1, self).__init__(orientation=Gtk.Orientation.VERTICAL) self.marcadores = Marcadores() self.pack_start(self.marcadores, True, True, 0) + + x = Gdk.Screen.width() / 3 + self.set_size_request(x, -1) + self.show_all() if __name__ == "__main__": |