diff options
-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__": |