summaryrefslogtreecommitdiffstats
path: root/examples/location/mapviewer/forms/RouteCoordinateForm.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/location/mapviewer/forms/RouteCoordinateForm.ui.qml')
-rw-r--r--examples/location/mapviewer/forms/RouteCoordinateForm.ui.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/location/mapviewer/forms/RouteCoordinateForm.ui.qml b/examples/location/mapviewer/forms/RouteCoordinateForm.ui.qml
index 78e5eb09..d33aaaae 100644
--- a/examples/location/mapviewer/forms/RouteCoordinateForm.ui.qml
+++ b/examples/location/mapviewer/forms/RouteCoordinateForm.ui.qml
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2017 The Qt Company Ltd.
+** Copyright (C) 2022 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
@@ -102,9 +102,9 @@ Item {
Label {
id: label1
text: qsTr("From")
- anchors.horizontalCenter: parent.horizontalCenter
font.bold: true
- Layout.columnSpan : 2
+ Layout.columnSpan: 2
+ Layout.alignment: Qt.AlignHCenter
}
Label {
@@ -130,9 +130,9 @@ Item {
Label {
id: label6
text: qsTr("To")
- anchors.horizontalCenter: parent.horizontalCenter
font.bold: true
Layout.columnSpan: 2
+ Layout.alignment: Qt.AlignHCenter
}
Label {