Skip to content

Commit

Permalink
qt: Move title, version, and copyrights to the right on splash screen
Browse files Browse the repository at this point in the history
  • Loading branch information
lateminer committed Nov 20, 2024
1 parent de3e073 commit 85d4f51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qt/splashscreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand All @@ -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);
Expand Down

0 comments on commit 85d4f51

Please sign in to comment.