From: Marius Vlad Date: Fri, 29 May 2020 11:01:23 +0000 (+0300) Subject: app/HVAC.qml: Use the Window width and height instead of using Screen X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps%2Fhvac.git;a=commitdiff_plain;h=a44aaf342476a894aeb91edbc49b349aee93607b 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 --- 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 {