From e433fb7bc6c4534746865f3c17ea942e409a60ba Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Fri, 3 Jul 2020 15:02:41 +0300 Subject: app/Settings.qml: Allow to scale correctly at lower resolutions Bug-AGL: SPEC-3348 Signed-off-by: Marius Vlad --- app/Settings.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- cgit 1.2.3-korg