From: Marius Vlad Date: Fri, 3 Jul 2020 12:02:41 +0000 (+0300) Subject: app/Settings.qml: Allow to scale correctly at lower resolutions X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=e433fb7bc6c4534746865f3c17ea942e409a60ba;p=apps%2Fsettings.git app/Settings.qml: Allow to scale correctly at lower resolutions Bug-AGL: SPEC-3348 Signed-off-by: Marius Vlad --- diff --git a/app/Settings.qml b/app/Settings.qml index f257d8a..d985fc0 100644 --- a/app/Settings.qml +++ b/app/Settings.qml @@ -39,9 +39,9 @@ ApplicationWindow { Item { id: container anchors.centerIn: parent - width: Window.width - height: Window.height - scale: 1 + height: 1920 - 218 - 215 + width: 1080 + scale: (Screen.height / 1920.0) StackView { id: stack