From 091e380a825116ef971913e0b349a80d04420211 Mon Sep 17 00:00:00 2001 From: pouya Date: Mon, 21 Aug 2023 16:37:16 +0330 Subject: [PATCH] Decrease size for convenience --- ui/App.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/App.qml b/ui/App.qml index e75023b..858023f 100755 --- a/ui/App.qml +++ b/ui/App.qml @@ -12,9 +12,9 @@ QtMvvmApp { onHeightChanged: Const.heightRatio = mvvmApp.height / Const.windowHeight Component.onCompleted: { - width = Const.windowWidth - height = Const.windowHeight + width = Const.windowWidth / 1.3 + height = Const.windowHeight / 1.3 x = (Screen.width - width) / 2 - y = (Screen.height - height) + y = (Screen.height - height) } }