Changeset 990:7ba1c9864bbb for src
- Timestamp:
- 06/28/19 18:04:06 (5 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r989 r990 1277 1277 xscale = 0.0, yscale = 0.0) 1278 1278 1279 table = gtk.Table(12, 3)1279 table = gtk.Table(12, 4) 1280 1280 table.set_row_spacings(4) 1281 table.set_col_spacings( 32)1281 table.set_col_spacings(24) 1282 1282 alignment.add(table) 1283 1283 self.setMainWidget(alignment) … … 1299 1299 label.set_mnemonic_widget(self._name1) 1300 1300 1301 row += 11302 1303 1301 labelAlignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 1304 1302 xscale = 0.0, yscale = 0.0) … … 1306 1304 label.set_use_underline(True) 1307 1305 labelAlignment.add(label) 1308 table.attach(labelAlignment, 0, 1, row, row+1)1306 table.attach(labelAlignment, 2, 3, row, row+1) 1309 1307 1310 1308 self._name2 = gtk.Entry() … … 1312 1310 self._name2.set_tooltip_text(xstr("register_name2_tooltip")) 1313 1311 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) 1315 1313 label.set_mnemonic_widget(self._name2) 1316 1314 … … 1358 1356 self._emailAddressPublic.set_use_underline(True) 1359 1357 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) 1361 1359 1362 1360 row += 1 … … 1379 1377 label.set_mnemonic_widget(self._vatsimID) 1380 1378 1381 row += 1 1382 1383 labelAlignment = gtk.Alignment(xalign = 1.0, yalign = 0.5, 1379 labelAlignment = gtk.Alignment(xalign = 0.0, yalign = 0.5, 1384 1380 xscale = 0.0, yscale = 0.0) 1385 1381 label = gtk.Label(xstr("register_ivao_id")) 1386 1382 label.set_use_underline(True) 1387 1383 labelAlignment.add(label) 1388 table.attach(labelAlignment, 0, 1, row, row+1)1384 table.attach(labelAlignment, 2, 3, row, row+1) 1389 1385 1390 1386 alignment = gtk.Alignment(xalign = 0.0, yalign = 0.0, … … 1395 1391 self._ivaoID.set_width_chars(7) 1396 1392 alignment.add(self._ivaoID) 1397 table.attach(alignment, 1, 2, row, row+1)1393 table.attach(alignment, 3, 4, row, row+1) 1398 1394 label.set_mnemonic_widget(self._ivaoID) 1399 1395 … … 1434 1430 placeholder.set_child_visible(False) 1435 1431 placeholder.hide() 1436 table.attach(placeholder, 2, 3, row, row+1)1432 table.attach(placeholder, 2, 4, row, row+1) 1437 1433 1438 1434 row += 1 … … 1456 1452 self._passwordStatus = gtk.Label() 1457 1453 alignment.add(self._passwordStatus) 1458 table.attach(alignment, 2, 3, row, row+1)1454 table.attach(alignment, 2, 4, row, row+1) 1459 1455 1460 1456 row += 1 … … 1478 1474 self._password2Status = gtk.Label() 1479 1475 alignment.add(self._password2Status) 1480 table.attach(alignment, 2, 3, row, row+1)1476 table.attach(alignment, 2, 4, row, row+1) 1481 1477 1482 1478 row += 1 … … 1485 1481 self._rememberButton.set_use_underline(True) 1486 1482 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) 1488 1484 1489 1485 cancelButton = \
Note:
See TracChangeset
for help on using the changeset viewer.