fix fontFactor value

This commit is contained in:
kvazar-network 2024-06-15 15:27:48 +03:00
parent 33cc35dfc2
commit 7f69322dfa

View File

@ -77,7 +77,7 @@ SplashScreen::SplashScreen(Qt::WindowFlags f, const NetworkStyle *networkStyle)
pixPaint.fillRect(rGradient, gradient);
// check font size and drawing with
pixPaint.setFont(QFont(font, 33*fontFactor));
pixPaint.setFont(QFont(font, 32*fontFactor));
QFontMetrics fm = pixPaint.fontMetrics();
int titleTextWidth = fm.width(titleText);
if (titleTextWidth > 176) {