aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/GpsList.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/GpsList.qml')
-rw-r--r--qt-mobile/qml/GpsList.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-mobile/qml/GpsList.qml b/qt-mobile/qml/GpsList.qml
index 8e9349c3c..422775e3d 100644
--- a/qt-mobile/qml/GpsList.qml
+++ b/qt-mobile/qml/GpsList.qml
@@ -53,7 +53,7 @@ MobileComponents.Page {
}
MobileComponents.Label {
text: date
- width: Math.max(parent.width / 5, paintedWidth) // helps vertical alignment throughout listview
+ Layout.preferredWidth: Math.max(parent.width / 5, paintedWidth)
font.pointSize: subsurfaceTheme.smallPointSize
}
MobileComponents.Label {
@@ -63,7 +63,7 @@ MobileComponents.Page {
}
MobileComponents.Label {
text: name
- width: Math.max(parent.width / 5, paintedWidth) // helps vertical alignment throughout listview
+ Layout.preferredWidth: Math.max(parent.width / 5, paintedWidth)
font.pointSize: subsurfaceTheme.smallPointSize
}
MobileComponents.Label {