Changeset 990:7ba1c9864bbb for src/mlx


Ignore:
Timestamp:
06/28/19 18:04:06 (5 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

Further reduced the window size by making the registration page smaller (re #347)

File:
1 edited

Legend:

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

    r989 r990  
    12771277                                  xscale = 0.0, yscale = 0.0)
    12781278
    1279         table = gtk.Table(12, 3)
     1279        table = gtk.Table(12, 4)
    12801280        table.set_row_spacings(4)
    1281         table.set_col_spacings(32)
     1281        table.set_col_spacings(24)
    12821282        alignment.add(table)
    12831283        self.setMainWidget(alignment)
     
    12991299        label.set_mnemonic_widget(self._name1)
    13001300
    1301         row += 1
    1302 
    13031301        labelAlignment = gtk.Alignment(xalign = 1.0, yalign = 0.5,
    13041302                                       xscale = 0.0, yscale = 0.0)
     
    13061304        label.set_use_underline(True)
    13071305        labelAlignment.add(label)
    1308         table.attach(labelAlignment, 0, 1, row, row+1)
     1306        table.attach(labelAlignment, 2, 3, row, row+1)
    13091307
    13101308        self._name2 = gtk.Entry()
     
    13121310        self._name2.set_tooltip_text(xstr("register_name2_tooltip"))
    13131311        self._name2.set_width_chars(15)
    1314         table.attach(self._name2, 1, 2, row, row+1)
     1312        table.attach(self._name2, 3, 4, row, row+1)
    13151313        label.set_mnemonic_widget(self._name2)
    13161314
     
    13581356        self._emailAddressPublic.set_use_underline(True)
    13591357        self._emailAddressPublic.set_tooltip_text(xstr("register_email_public_tooltip"))
    1360         table.attach(self._emailAddressPublic, 2, 3, row, row+1)
     1358        table.attach(self._emailAddressPublic, 2, 4, row, row+1)
    13611359
    13621360        row += 1
     
    13791377        label.set_mnemonic_widget(self._vatsimID)
    13801378
    1381         row += 1
    1382 
    1383         labelAlignment = gtk.Alignment(xalign = 1.0, yalign = 0.5,
     1379        labelAlignment = gtk.Alignment(xalign = 0.0, yalign = 0.5,
    13841380                                       xscale = 0.0, yscale = 0.0)
    13851381        label = gtk.Label(xstr("register_ivao_id"))
    13861382        label.set_use_underline(True)
    13871383        labelAlignment.add(label)
    1388         table.attach(labelAlignment, 0, 1, row, row+1)
     1384        table.attach(labelAlignment, 2, 3, row, row+1)
    13891385
    13901386        alignment = gtk.Alignment(xalign = 0.0, yalign = 0.0,
     
    13951391        self._ivaoID.set_width_chars(7)
    13961392        alignment.add(self._ivaoID)
    1397         table.attach(alignment, 1, 2, row, row+1)
     1393        table.attach(alignment, 3, 4, row, row+1)
    13981394        label.set_mnemonic_widget(self._ivaoID)
    13991395
     
    14341430        placeholder.set_child_visible(False)
    14351431        placeholder.hide()
    1436         table.attach(placeholder, 2, 3, row, row+1)
     1432        table.attach(placeholder, 2, 4, row, row+1)
    14371433
    14381434        row += 1
     
    14561452        self._passwordStatus = gtk.Label()
    14571453        alignment.add(self._passwordStatus)
    1458         table.attach(alignment, 2, 3, row, row+1)
     1454        table.attach(alignment, 2, 4, row, row+1)
    14591455
    14601456        row += 1
     
    14781474        self._password2Status = gtk.Label()
    14791475        alignment.add(self._password2Status)
    1480         table.attach(alignment, 2, 3, row, row+1)
     1476        table.attach(alignment, 2, 4, row, row+1)
    14811477
    14821478        row += 1
     
    14851481        self._rememberButton.set_use_underline(True)
    14861482        self._rememberButton.set_tooltip_text(xstr("login_remember_tooltip"))
    1487         table.attach(self._rememberButton, 1, 2, row, row+1)
     1483        table.attach(self._rememberButton, 1, 3, row, row+1)
    14881484
    14891485        cancelButton = \
Note: See TracChangeset for help on using the changeset viewer.