app/HVAC.qml: Use the Window width and height instead of using Screen
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 29 May 2020 11:01:23 +0000 (14:01 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Fri, 29 May 2020 12:56:44 +0000 (15:56 +0300)
width and height

Hard-code the width as the slider can't seem to resolve the correct
width.

Bug-AGL: SPEC-3379

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

index 46c99ca..744ec8d 100644 (file)
@@ -43,8 +43,10 @@ ApplicationWindow {
     Item {
         id: container
         anchors.centerIn: parent
-        width: Screen.width
-        height: Screen.height
+        //width: Window.width
+        width: 1080
+        height: Window.height
+        //scale: Window.scale
         scale: 1
 
        ColumnLayout {