Skip to content

Commit

Permalink
Cosmetic fixes for GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Jun 30, 2018
1 parent d5e2646 commit 93cbc99
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/gui/AstroCalcDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,14 @@ void AstroCalcDialog::createDialogContent()
connect(ui->stackListWidget, SIGNAL(currentItemChanged(QListWidgetItem*, QListWidgetItem*)), this, SLOT(changePage(QListWidgetItem*, QListWidgetItem*)));

updateTabBarListWidgetWidth();

// Let's improve visibility of rise, set and transit times
ui->labelRise->setStyleSheet("QLabel { color: white; }");
ui->labelRiseValue->setStyleSheet("QLabel { color: white; }");
ui->labelTransit->setStyleSheet("QLabel { color: white; }");
ui->labelTransitValue->setStyleSheet("QLabel { color: white; }");
ui->labelSet->setStyleSheet("QLabel { color: white; }");
ui->labelSetValue->setStyleSheet("QLabel { color: white; }");
}

void AstroCalcDialog::updateAstroCalcData()
Expand Down
2 changes: 2 additions & 0 deletions src/gui/ConfigurationDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ void ConfigurationDialog::retranslate()
scriptSelectionChanged(ui->scriptListWidget->currentItem()->text());
#endif

populateDitherList();

//Plug-in information
populatePluginsList();

Expand Down
2 changes: 1 addition & 1 deletion src/gui/astroCalcDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@
</widget>
</item>
<item row="0" column="4">
<widget class="QLabel" name="label">
<widget class="QLabel" name="labelSet">
<property name="text">
<string comment="celestial event">Set:</string>
</property>
Expand Down

0 comments on commit 93cbc99

Please sign in to comment.