Changeset 79:9f450f32f771


Ignore:
Timestamp:
04/14/12 08:52:32 (13 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Reorganized the wizard pages so that the data part is more to the centre

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/flight.py

    r78 r79  
    6464        self._vbox.pack_start(eventBox, False, False, 0)
    6565
    66         table = gtk.Table(3, 1)
    67         table.set_homogeneous(False)
     66        mainBox = gtk.VBox()       
    6867
    6968        alignment = gtk.Alignment(xalign = 0.0, yalign = 0.0,
     
    7170        alignment.set_padding(padding_top = 16, padding_bottom = 16,
    7271                              padding_left = 16, padding_right = 16)
    73         alignment.add(table)
     72        alignment.add(mainBox)
    7473        self._vbox.pack_start(alignment, True, True, 0)
    7574       
     
    8483        label.set_use_markup(True)
    8584        alignment.add(label)
    86         table.attach(alignment, 0, 1, 0, 1)
     85        mainBox.pack_start(alignment, False, False, 0)
    8786
    8887        self._mainAlignment = gtk.Alignment(xalign = 0.5, yalign = 0.5,
    8988                                            xscale = 1.0, yscale = 1.0)
    90         table.attach(self._mainAlignment, 0, 1, 1, 3)
     89        mainBox.pack_start(self._mainAlignment, True, True, 0)
    9190                                           
    9291        buttonAlignment =  gtk.Alignment(xalign = 1.0, xscale=0.0, yscale = 0.0)
Note: See TracChangeset for help on using the changeset viewer.