Code Review
/
apps
/
hvac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
HVAC.qml: Allow scaling at lower resolutions
[apps/hvac.git]
/
app
/
HVAC.qml
diff --git
a/app/HVAC.qml
b/app/HVAC.qml
index
1a39167
..
dbab358
100644
(file)
--- a/
app/HVAC.qml
+++ b/
app/HVAC.qml
@@
-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