mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:06:08 +00:00
UI: SplashScreen: Center on screen
This commit is contained in:
parent
7e840aaaa6
commit
4d7c03171d
@ -76,6 +76,9 @@ void SplashScreen::setupUi()
|
||||
|
||||
// Size
|
||||
this->resize(250, 80);
|
||||
|
||||
// Position
|
||||
this->move(x() - width() / 2, y() - height() / 2);
|
||||
}
|
||||
|
||||
QLayout *SplashScreen::setupMainLayout()
|
||||
|
Loading…
Reference in New Issue
Block a user