Changeset 79:9f450f32f771 for src/mlx
- Timestamp:
- 04/14/12 08:52:32 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r78 r79 64 64 self._vbox.pack_start(eventBox, False, False, 0) 65 65 66 table = gtk.Table(3, 1) 67 table.set_homogeneous(False) 66 mainBox = gtk.VBox() 68 67 69 68 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.0, … … 71 70 alignment.set_padding(padding_top = 16, padding_bottom = 16, 72 71 padding_left = 16, padding_right = 16) 73 alignment.add( table)72 alignment.add(mainBox) 74 73 self._vbox.pack_start(alignment, True, True, 0) 75 74 … … 84 83 label.set_use_markup(True) 85 84 alignment.add(label) 86 table.attach(alignment, 0, 1, 0, 1)85 mainBox.pack_start(alignment, False, False, 0) 87 86 88 87 self._mainAlignment = gtk.Alignment(xalign = 0.5, yalign = 0.5, 89 88 xscale = 1.0, yscale = 1.0) 90 table.attach(self._mainAlignment, 0, 1, 1, 3)89 mainBox.pack_start(self._mainAlignment, True, True, 0) 91 90 92 91 buttonAlignment = gtk.Alignment(xalign = 1.0, xscale=0.0, yscale = 0.0)
Note:
See TracChangeset
for help on using the changeset viewer.