140@@ -141,6 +141,18 @@ OverviewPage::OverviewPage(const PlatformStyle *platformStyle, QWidget *parent)
141 showOutOfSyncWarning(true);
142 connect(ui->labelWalletStatus, &QPushButton::clicked, this, &OverviewPage::handleOutOfSyncWarningClicks);
143 connect(ui->labelTransactionsStatus, &QPushButton::clicked, this, &OverviewPage::handleOutOfSyncWarningClicks);
144+
145+ QFont f = GUIUtil::fixedPitchFont();
146+ f.setWeight(QFont::Bold);
147+ f.setPointSize(10);
Let’s not override this for no reason?
The only reason is to make things explicitly rather than implicitly. Does setPointSize
call has any downsides?
Yes, the downside is that it is explicit and overrides the user’s preference (which may not be 10pt).
Thanks! Updated.
Now I’m able to change the font size with the qt5ct
utility on Linux Mint 20 :)