Print splashscreen text in separate statusbar

This commit is contained in:
Lars Toenning
2023-10-03 14:54:13 +02:00
parent bcc4bdd31e
commit bfc27f61a4
3 changed files with 23 additions and 30 deletions

View File

@@ -225,11 +225,11 @@ namespace BlackGui
splashFont.setFamily("Arial");
// splashFont.setBold(true);
splashFont.setPointSize(10);
splashFont.setStretch(125);
splashFont.setStretch(100);
m_splashScreen.reset(new CSplashScreen(pixmap.scaled(256, 256)));
m_splashScreen->show();
m_splashScreen->showStatusMessage(CBuildConfig::getVersionString());
m_splashScreen->showStatusMessage("Version " + CBuildConfig::getVersionString());
m_splashScreen->setSplashFont(splashFont);
this->processEventsToRefreshGui();