Commit 2d98a98e authored by Volker Krause's avatar Volker Krause

Deal with too long location names

parent 93ad7bff
...@@ -84,6 +84,7 @@ Kirigami.ScrollablePage { ...@@ -84,6 +84,7 @@ Kirigami.ScrollablePage {
QQC2.Label { QQC2.Label {
text: "From: " + modelData.from.name text: "From: " + modelData.from.name
Layout.fillWidth: true Layout.fillWidth: true
elide: Text.ElideRight
} }
QQC2.Label { QQC2.Label {
text: modelData.hasExpectedDeparturePlatform ? modelData.expectedDeparturePlatform : modelData.scheduledDeparturePlatform text: modelData.hasExpectedDeparturePlatform ? modelData.expectedDeparturePlatform : modelData.scheduledDeparturePlatform
...@@ -124,6 +125,7 @@ Kirigami.ScrollablePage { ...@@ -124,6 +125,7 @@ Kirigami.ScrollablePage {
QQC2.Label { QQC2.Label {
text: "To: " + modelData.to.name text: "To: " + modelData.to.name
Layout.fillWidth: true Layout.fillWidth: true
elide: Text.ElideRight
} }
QQC2.Label { QQC2.Label {
text: modelData.hasExpectedArrivalPlatform ? modelData.expectedArrivalPlatform : modelData.scheduledArrivalPlatform text: modelData.hasExpectedArrivalPlatform ? modelData.expectedArrivalPlatform : modelData.scheduledArrivalPlatform
......
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