mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-18 08:22:33 +02:00
Change window to be in the center of the screen when creating
This commit is contained in:
parent
ac096124ce
commit
2b9afb0bf5
@ -13,6 +13,10 @@ Window {
|
||||
minimumHeight: 768
|
||||
minimumWidth: 1050
|
||||
|
||||
Component.onCompleted: {
|
||||
setX(Screen.width / 2 - width / 2);
|
||||
setY(Screen.height / 2 - height / 2);
|
||||
}
|
||||
Loader {
|
||||
id: pageLoader
|
||||
anchors {
|
||||
|
Loading…
Reference in New Issue
Block a user