Commit ba5d1215 authored by Leander Schulten's avatar Leander Schulten
Browse files

Use Layout.alignment and not anchors.

The UI shows now at startup the right value
parent c1d4e422
......@@ -94,6 +94,7 @@ ControlItem{
}
onValueChanged: controlData.value = value
value: controlData.value;
}
}
......@@ -123,9 +124,7 @@ ControlItem{
Text {
text: qsTr("Min")
font.underline: true
anchors.horizontalCenter: parent.horizontalCenter
Layout.alignment: Qt.AlignHCenter
}
RadioButton{
text: "Remap"
......@@ -143,7 +142,7 @@ ControlItem{
Text {
text: qsTr("Max")
font.underline: true
anchors.horizontalCenter: parent.horizontalCenter
Layout.alignment: Qt.AlignHCenter
}
RadioButton{
text: "Remap"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment