|
@ -12,9 +12,9 @@ QtMvvmApp { |
|
|
onHeightChanged: Const.heightRatio = mvvmApp.height / Const.windowHeight |
|
|
onHeightChanged: Const.heightRatio = mvvmApp.height / Const.windowHeight |
|
|
|
|
|
|
|
|
Component.onCompleted: { |
|
|
Component.onCompleted: { |
|
|
width = Const.windowWidth |
|
|
width = Const.windowWidth / 1.3 |
|
|
height = Const.windowHeight |
|
|
height = Const.windowHeight / 1.3 |
|
|
x = (Screen.width - width) / 2 |
|
|
x = (Screen.width - width) / 2 |
|
|
y = (Screen.height - height) |
|
|
y = (Screen.height - height) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|