summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-05-29 14:01:23 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-06-12 21:29:27 +0300
commit85e2dc900b56fe782afce024a151780838901eb1 (patch)
tree94215284e200ee49a9f8736dfc4aae2d5765cc88
parent97189cbd0a4aacf08abd0e9229b661586b5ed276 (diff)
app/HVAC.qml: Use the Window width and height instead of using Screensandbox/mvlad/agl-compositor
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>
-rw-r--r--app/HVAC.qml8
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