Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgnacio 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)
commitbf49d25dc8d851a04f046258f58a5f5cbb37bfee (patch)
tree30b3192848169d0c34213299b5c7288fe36e66dc
parentf4dbec76e4f312b68d65461a788ebd6a30cdde05 (diff)
Tamaño.
-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__":