Merge PR #137: Fix landscape for heating page

This commit is contained in:
Jenkins 2019-02-05 23:11:54 +01:00
commit 710dce1d1b

View File

@ -40,7 +40,7 @@ DevicePageBase {
}
Rectangle {
Layout.fillWidth: true
Layout.preferredWidth: app.landscape ? parent.width / 2 : parent.width
Layout.preferredHeight: 50
visible: root.boostStateType
border.color: boostMouseArea.pressed || root.boostStateType && root.boostState.value === true ? app.accentColor : app.foregroundColor