diff options
author | Cristhofer Travieso <cristhofert97@gmail.com> | 2012-06-28 20:53:10 (GMT) |
---|---|---|
committer | Cristhofer Travieso <cristhofert97@gmail.com> | 2012-06-28 20:53:10 (GMT) |
commit | b6204403b423cba05823f7ba4a09d506e942e4ab (patch) | |
tree | f6f1180ac5452a85e72d46c3a20a7d259356af13 | |
parent | cdfb8ba7491fe9c31b6f74e63ad1972b92b5ef1a (diff) |
Ordene los pack_start
-rw-r--r-- | Activity.py | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Activity.py b/Activity.py index d7eb1cc..8fd5bff 100644 --- a/Activity.py +++ b/Activity.py @@ -108,29 +108,29 @@ class Canvas(gtk.VBox): self._hbox1 = gtk.HBox() self._hbox2 = gtk.HBox() + self._hbox1.pack_start(gtk.Label("Of "), True) self.combo1 = gtk.ComboBox() + self._hbox1.pack_start(self.combo1, True) + self._hbox1.pack_start(gtk.Label("to"), True) self.combo2 = gtk.ComboBox() + self._hbox1.pack_start(self.combo2, True) adjustment = gtk.Adjustment(value=1.0, lower=0.0, upper=0.0, step_incr=0.5, page_incr=1.0, page_size=0.0) - #commit arregle un error con adjusment + self.spin_btn1 = gtk.SpinButton(adjustment, 1.0, 0) + self._hbox2.pack_start(self.spin_btn1, False) self.spin_btn2 = gtk.SpinButton(adjustment, 1.0, 0) - #self.separator1 = gtk.VSeparator() - #self.separator1.set_expand(True) - #self.separator1.set_draw(False) - #self.separator2 = gtk.VSeparator() - #self.separator2.set_expand(True) - #self.separator2.set_draw(False) + self._hbox2.pack_start(self.spin_btn2, False) - self._hbox1.pack_start(gtk.Label("Of "), True) - self._hbox1.pack_start(self.combo1, True) - self._hbox1.pack_start(gtk.Label("to"), True) - self._hbox1.pack_start(self.combo2, True) + self.separator1 = gtk.VSeparator() + self.separator1.set_expand(True) + self.separator1.set_draw(False) + self._hbox2.pack_start(self.separator1, True) - #self._hbox2.pack_start(self.separator1, True) - self._hbox2.pack_start(self.spin_btn1, False) - #self._hbox2.pack_start(self.separator2, True) - self._hbox2.pack_start(self.spin_btn2, False) + self.separator2 = gtk.VSeparator() + self.separator2.set_expand(True) + self.separator2.set_draw(False) + self._hbox2.pack_start(self.separator2, True) self.pack_start(self._hbox1, False) self.pack_start(self._hbox2, False) |