Fix landscape for heating page

This commit is contained in:
Michael Zanetti 2019-02-05 13:55:14 +01:00
parent 6a7416cc85
commit c74cb07a0a

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