diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2020-05-29 14:01:23 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2020-06-24 17:15:49 +0300 |
commit | 50940a37ac8c8017f07e69e6b35ae16946bcbee0 (patch) | |
tree | ecfad56e88b25073336509d5e7baf1301ea681f4 /app/HVAC.qml | |
parent | 8e822732230d9a0498cd581dd5bb53bfa7e029a1 (diff) |
app/HVAC.qml: Use the Window width and height instead of using Screenjellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish_9.99.1jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.2jellyfish/9.99.19.99.49.99.39.99.29.99.1
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>
Change-Id: Id946d7350fef1970d1868024887bd924e352c957
Diffstat (limited to 'app/HVAC.qml')
-rw-r--r-- | app/HVAC.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/HVAC.qml b/app/HVAC.qml index 1a39167..4e27e2d 100644 --- a/app/HVAC.qml +++ b/app/HVAC.qml @@ -41,9 +41,9 @@ ApplicationWindow { Item { id: container anchors.centerIn: parent - width: Screen.width - height: Screen.height - scale: 1 + width: Window.width + height: Window.height + scale: Window.scale ColumnLayout { anchors.fill: parent @@ -56,7 +56,7 @@ ApplicationWindow { source: './images/HMI_HVAC_Fan_Icon.svg' } Item { - width: container.width * 0.8 + width: 1080 * 0.8 Slider { id: fanSpeedSlider anchors.left: parent.left |