Fix awning control spacing
This commit is contained in:
parent
706532ecb0
commit
b4c4e294f3
@ -68,14 +68,14 @@ ThingPageBase {
|
|||||||
property int minimumWidth: app.iconSize * 2.7 * 3
|
property int minimumWidth: app.iconSize * 2.7 * 3
|
||||||
property int minimumHeight: app.iconSize * 4.5
|
property int minimumHeight: app.iconSize * 4.5
|
||||||
|
|
||||||
Column {
|
ColumnLayout {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
width: parent.width
|
width: parent.width
|
||||||
spacing: app.margins
|
spacing: app.margins
|
||||||
|
|
||||||
Slider {
|
Slider {
|
||||||
id: percentageSlider
|
id: percentageSlider
|
||||||
width: parent.width
|
Layout.fillWidth: true
|
||||||
from: 0
|
from: 0
|
||||||
to: 100
|
to: 100
|
||||||
stepSize: 1
|
stepSize: 1
|
||||||
@ -108,8 +108,7 @@ ThingPageBase {
|
|||||||
id: shutterControls
|
id: shutterControls
|
||||||
thing: root.thing
|
thing: root.thing
|
||||||
invert: true
|
invert: true
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
Layout.fillWidth: true
|
||||||
spacing: (parent.width - app.iconSize*2*children.length) / (children.length - 1)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user