mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-20 19:19:02 -04:00
Revert "Improve the readability of the signal meter labeling at different font sizes."
This reverts commit 0fd396c903
.
This commit is contained in:
parent
0fd396c903
commit
f0c5b772df
@ -1389,16 +1389,8 @@ void MainWindow::set_application_font (QFont const& font)
|
||||
}
|
||||
}
|
||||
qApp->setStyleSheet (ss + "* {" + font_as_stylesheet (font) + '}');
|
||||
// ensure a balanced layout of the signal meter and the mode buttons
|
||||
// ensure a balanced layout of the mode buttons
|
||||
qreal pointSize = m_config.text_font().pointSizeF();
|
||||
if (pointSize < 9) ui->signal_meter_widget->setMaximumWidth(50);
|
||||
if (pointSize == 9) ui->signal_meter_widget->setMaximumWidth(53);
|
||||
if (pointSize == 10) ui->signal_meter_widget->setMaximumWidth(56);
|
||||
if (pointSize == 11) ui->signal_meter_widget->setMaximumWidth(59);
|
||||
if (pointSize == 12) ui->signal_meter_widget->setMaximumWidth(62);
|
||||
if (pointSize == 13) ui->signal_meter_widget->setMaximumWidth(65);
|
||||
if (pointSize == 14) ui->signal_meter_widget->setMaximumWidth(70);
|
||||
if (pointSize > 14) ui->signal_meter_widget->setMaximumWidth(75);
|
||||
if (pointSize < 11) {
|
||||
ui->houndButton->setMaximumWidth(40);
|
||||
ui->ft8Button->setMaximumWidth(40);
|
||||
|
Loading…
Reference in New Issue
Block a user