app/Settings.qml: Allow to scale correctly at lower resolutions sandbox/mvlad/scale-layout
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 3 Jul 2020 12:02:41 +0000 (15:02 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Fri, 3 Jul 2020 12:02:41 +0000 (15:02 +0300)
Bug-AGL: SPEC-3348

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
app/Settings.qml

index f257d8a..d985fc0 100644 (file)
@@ -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