fix landscape views
This commit is contained in:
parent
78f015e80d
commit
e1b2642f64
@ -67,7 +67,8 @@ ListView {
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.rowSpan: 3
|
||||
Layout.minimumWidth: app.iconSize * 5
|
||||
Layout.rowSpan: app.landscape ? 5 : 1
|
||||
ColorIcon {
|
||||
anchors.centerIn: parent
|
||||
height: app.iconSize * 4
|
||||
@ -76,6 +77,10 @@ ListView {
|
||||
color: device.states.getState(boolView.stateType.id).value === true ? app.interfaceToColor(boolView.interfaceName) : keyColor
|
||||
}
|
||||
}
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
RowLayout {
|
||||
Layout.fillWidth: false
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
||||
Reference in New Issue
Block a user