Commit 1793ee11 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇 Committed by Volker Krause
Browse files

[DepartureQueryPage] Always reserve room for expected departure

Avoids the layout shifting around as some connections have
it while others don't
parent fb4e9381
...@@ -62,7 +62,8 @@ Kirigami.ScrollablePage { ...@@ -62,7 +62,8 @@ Kirigami.ScrollablePage {
return Kirigami.Theme.negativeTextColor; return Kirigami.Theme.negativeTextColor;
return Kirigami.Theme.positiveTextColor; return Kirigami.Theme.positiveTextColor;
} }
visible: departure.hasExpectedDepartureTime || departure.disruption == Disruption.NoService // Keeping it visible so the layout is more uniform
opacity: (departure.hasExpectedDepartureTime || departure.disruption == Disruption.NoService) ? 1 : 0
} }
} }
RowLayout { RowLayout {
......
Supports Markdown
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