From 197b19f4262761feee420642692a66c37f27ee17 Mon Sep 17 00:00:00 2001 From: lateminer <9951982+lateminer@users.noreply.github.com> Date: Wed, 20 Nov 2024 18:55:03 +0100 Subject: [PATCH] qt: Move title, version, and copyrights to the right on splash screen --- src/qt/splashscreen.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index 04d67044f2..8ab76c0a4a 100644 --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.cpp @@ -89,7 +89,7 @@ SplashScreen::SplashScreen(const NetworkStyle* networkStyle) pixPaint.setFont(QFont(font, 33*fontFactor)); fm = pixPaint.fontMetrics(); titleTextWidth = GUIUtil::TextWidth(fm, titleText); - pixPaint.drawText(pixmap.width()/devicePixelRatio-titleTextWidth-paddingRight,paddingTop,titleText); + pixPaint.drawText(pixmap.width()/devicePixelRatio-titleTextWidth-paddingRight+2,paddingTop,titleText); pixPaint.setFont(QFont(font, 15*fontFactor)); @@ -100,12 +100,12 @@ SplashScreen::SplashScreen(const NetworkStyle* networkStyle) pixPaint.setFont(QFont(font, 10*fontFactor)); titleVersionVSpace -= 5; } - pixPaint.drawText(pixmap.width()/devicePixelRatio-titleTextWidth-paddingRight+2,paddingTop+titleVersionVSpace,versionText); + pixPaint.drawText(pixmap.width()/devicePixelRatio-titleTextWidth-paddingRight+5,paddingTop+titleVersionVSpace,versionText); // draw copyright stuff { pixPaint.setFont(QFont(font, 10*fontFactor)); - const int x = pixmap.width()/devicePixelRatio-titleTextWidth-paddingRight; + const int x = pixmap.width()/devicePixelRatio-titleTextWidth-paddingRight+5; const int y = paddingTop+titleCopyrightVSpace; pixPaint.drawText(x,y,copyrightTextBitcoin); pixPaint.drawText(x,y+10,copyrightTextBlackcoin);