From 290970097edf4fe6c8bce2006f5a472c0ceae221 Mon Sep 17 00:00:00 2001 From: Sami Ahmed Date: Wed, 8 Jul 2026 16:54:55 -0700 Subject: [PATCH] ui: force Total label to true bold (font-weight: 900) The v6.1.6 conditional Total color shipped with font: 12pt bold, which Qt interprets as font-weight 75 (medium-bold). That's the codebase's existing convention for setStyleSheet bold labels (trianglesgui.cpp uses 'font-weight: bold' for the Tor/I2P status indicators) but it's not visually distinct against the label font. Bump to font: 900 12pt (font-weight 900, full bold) so the Total actually stands out as the headline number on the Overview panel. No other behavior changed. Just font weight. --- src/qt/overviewpage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qt/overviewpage.cpp b/src/qt/overviewpage.cpp index 7ba5920..cc7232b 100644 --- a/src/qt/overviewpage.cpp +++ b/src/qt/overviewpage.cpp @@ -156,8 +156,8 @@ void OverviewPage::setBalance(qint64 balance, qint64 stake, qint64 unconfirmedBa // Total: green when there are coins, red when empty. C++ owns the color // (stylesheet can't do conditional logic), so the rule is applied every time // the balance updates. - ui->labelTotal->setStyleSheet(total > 0 ? QStringLiteral("color: #7CDB8A; font: 12pt bold;") - : QStringLiteral("color: #e32105; font: 12pt bold;")); + ui->labelTotal->setStyleSheet(total > 0 ? QStringLiteral("color: #7CDB8A; font: 900 12pt;") + : QStringLiteral("color: #e32105; font: 900 12pt;")); // only show immature (newly mined) balance if it's non-zero, so as not to complicate things // for the non-mining users