From a44aaf342476a894aeb91edbc49b349aee93607b Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Fri, 29 May 2020 14:01:23 +0300 Subject: [PATCH] app/HVAC.qml: Use the Window width and height instead of using Screen 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 --- app/HVAC.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/HVAC.qml b/app/HVAC.qml index 46c99ca..744ec8d 100644 --- a/app/HVAC.qml +++ b/app/HVAC.qml @@ -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 { -- 2.16.6