mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-31 09:14:56 +00:00
fix fontFactor value
This commit is contained in:
parent
33cc35dfc2
commit
7f69322dfa
@ -77,7 +77,7 @@ SplashScreen::SplashScreen(Qt::WindowFlags f, const NetworkStyle *networkStyle)
|
|||||||
pixPaint.fillRect(rGradient, gradient);
|
pixPaint.fillRect(rGradient, gradient);
|
||||||
|
|
||||||
// check font size and drawing with
|
// check font size and drawing with
|
||||||
pixPaint.setFont(QFont(font, 33*fontFactor));
|
pixPaint.setFont(QFont(font, 32*fontFactor));
|
||||||
QFontMetrics fm = pixPaint.fontMetrics();
|
QFontMetrics fm = pixPaint.fontMetrics();
|
||||||
int titleTextWidth = fm.width(titleText);
|
int titleTextWidth = fm.width(titleText);
|
||||||
if (titleTextWidth > 176) {
|
if (titleTextWidth > 176) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user