UI: SplashScreen: Center on screen

This commit is contained in:
Nodir Temirkhodjaev 2024-03-06 17:23:35 +03:00
parent 7e840aaaa6
commit 4d7c03171d

View File

@ -76,6 +76,9 @@ void SplashScreen::setupUi()
// Size
this->resize(250, 80);
// Position
this->move(x() - width() / 2, y() - height() / 2);
}
QLayout *SplashScreen::setupMainLayout()