aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/imagine/automotive/qml/automotive.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols2/imagine/automotive/qml/automotive.qml')
-rw-r--r--examples/quickcontrols2/imagine/automotive/qml/automotive.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/quickcontrols2/imagine/automotive/qml/automotive.qml b/examples/quickcontrols2/imagine/automotive/qml/automotive.qml
index a2985d0f..86355bb0 100644
--- a/examples/quickcontrols2/imagine/automotive/qml/automotive.qml
+++ b/examples/quickcontrols2/imagine/automotive/qml/automotive.qml
@@ -201,8 +201,8 @@ ApplicationWindow {
value: 42
to: 100
stepSize: 1
- anchors.horizontalCenter: parent.horizontalCenter
+ Layout.alignment: Qt.AlignHCenter
Layout.minimumWidth: 64
Layout.minimumHeight: 64
Layout.preferredWidth: 128
@@ -241,8 +241,8 @@ ApplicationWindow {
font.pixelSize: fontSizeMedium * 0.8
horizontalAlignment: Label.AlignHCenter
glowEnabled: false
- anchors.bottom: radioOption.bottom
+ Layout.alignment: Qt.AlignBottom
Layout.fillWidth: true
}
GlowingLabel {
@@ -251,8 +251,8 @@ ApplicationWindow {
font.pixelSize: fontSizeMedium * 0.6
horizontalAlignment: Label.AlignRight
glowEnabled: false
- anchors.bottom: radioOption.bottom
+ Layout.alignment: Qt.AlignBottom
Layout.fillWidth: true
}
}