HVAC.qml: Allow scaling at lower resolutions
[apps/hvac.git] / app / HVAC.qml
index 1a39167..dbab358 100644 (file)
@@ -41,9 +41,10 @@ ApplicationWindow {
     Item {
         id: container
         anchors.centerIn: parent
-        width: Screen.width
-        height: Screen.height
-        scale: 1
+
+       height: 1920 - 218 - 215
+       width: 1080
+        scale: (Screen.width / 1080.0)
 
        ColumnLayout {
                anchors.fill: parent