Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Box1.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Box1.py b/Box1.py
index 2d52247..ead5cb4 100644
--- a/Box1.py
+++ b/Box1.py
@@ -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__":