mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Some UI formatting / padding
This commit is contained in:
@@ -69,6 +69,9 @@ namespace BlackGui
|
||||
ui->tvp_OwnModelSet->setSimulatorForLoading(ui->comp_SimulatorSelector->getValue());
|
||||
ui->comp_SimulatorSelector->setMode(CSimulatorSelector::RadioButtons);
|
||||
|
||||
//! \fixme maybe it would be better to set those in stylesheet file
|
||||
ui->pb_SaveAsSetForSimulator->setStyleSheet("padding-left: 3px; padding-right: 3px;");
|
||||
|
||||
connect(ui->pb_CreateNewSet, &QPushButton::clicked, this, &CDbOwnModelSetComponent::ps_buttonClicked);
|
||||
connect(ui->pb_LoadExistingSet, &QPushButton::clicked, this, &CDbOwnModelSetComponent::ps_buttonClicked);
|
||||
connect(ui->pb_SaveAsSetForSimulator, &QPushButton::clicked, this, &CDbOwnModelSetComponent::ps_buttonClicked);
|
||||
|
||||
@@ -104,6 +104,9 @@ namespace BlackGui
|
||||
ui->lblp_VatsimPassword->setToolTips("ok", "wrong");
|
||||
ui->lblp_VatsimRealName->setToolTips("ok", "wrong");
|
||||
|
||||
//! \fixme hardcoded padding, could maybe goto to stylesheet file
|
||||
ui->bb_OkCancel->button(QDialogButtonBox::Ok)->setStyleSheet("padding-left: 3px; padding-right: 3px;");
|
||||
|
||||
// Stored data
|
||||
this->loadRememberedVatsimData();
|
||||
|
||||
|
||||
@@ -150,7 +150,7 @@ namespace BlackGui
|
||||
// Connected button
|
||||
if (to == INetwork::Connected)
|
||||
{
|
||||
ui->pb_Connect->setText("Disconnect");
|
||||
ui->pb_Connect->setText("Discon."); // full terms some too wide
|
||||
ui->pb_Connect->setStyleSheet("background-color: green");
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user