Allow more font sizes to be selected

fixes #367
This commit is contained in:
Nicolas Werner 2021-01-13 02:02:00 +01:00
parent c16e2467da
commit 024ffde08d

View file

@ -671,7 +671,7 @@ UserSettingsPage::UserSettingsPage(QSharedPointer<UserSettings> settings, QWidge
for (double option = 1; option <= 3; option += 0.25) for (double option = 1; option <= 3; option += 0.25)
scaleFactorCombo_->addItem(QString::number(option)); scaleFactorCombo_->addItem(QString::number(option));
for (double option = 10; option < 17; option += 0.5) for (double option = 6; option <= 24; option += 0.5)
fontSizeCombo_->addItem(QString("%1 ").arg(QString::number(option))); fontSizeCombo_->addItem(QString("%1 ").arg(QString::number(option)));
QFontDatabase fontDb; QFontDatabase fontDb;