Fix landscape for heating page
This commit is contained in:
parent
6a7416cc85
commit
c74cb07a0a
@ -40,7 +40,7 @@ DevicePageBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
Layout.fillWidth: true
|
Layout.preferredWidth: app.landscape ? parent.width / 2 : parent.width
|
||||||
Layout.preferredHeight: 50
|
Layout.preferredHeight: 50
|
||||||
visible: root.boostStateType
|
visible: root.boostStateType
|
||||||
border.color: boostMouseArea.pressed || root.boostStateType && root.boostState.value === true ? app.accentColor : app.foregroundColor
|
border.color: boostMouseArea.pressed || root.boostStateType && root.boostState.value === true ? app.accentColor : app.foregroundColor
|
||||||
|
|||||||
Reference in New Issue
Block a user