[pim/itinerary] src/app: Stack stop name below adjacent labels

Volker Krause <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 352872feeb9e03ec0534420990b7ccec49f4b66a by Volker Krause.
Committed on 29/07/2026 at 19:14.
Pushed by vkrause into branch 'master'.

Stack stop name below adjacent labels

Fixes the ItemDelegate attached to this overdrawing adjacent labels when
using the org.kde.breeze style.

M  +1    -0    src/app/JourneySectionStopDelegate.qml

https://invent.kde.org/pim/itinerary/-/commit/352872feeb9e03ec0534420990b7ccec49f4b66a

diff --git a/src/app/JourneySectionStopDelegate.qml b/src/app/JourneySectionStopDelegate.qml
index a0cb640cf..d3097e13d 100644
--- a/src/app/JourneySectionStopDelegate.qml
+++ b/src/app/JourneySectionStopDelegate.qml
@@ -91,6 +91,7 @@ Item {
             font.bold: root.highlight
             font.strikeout: root.stop.disruptionEffect === KPublicTransport.Disruption.NoService
             opacity: root.stop.pickupType === KPublicTransport.PickupDropoff.NotAllowed && root.stop.dropoffType === KPublicTransport.PickupDropoff.NotAllowed ? 0.5 : 1.0
+            z: -1 // stack below adjacent labels, so the background of the below item delegate doesn't overdraw them
 
             QQC2.ItemDelegate {
                 anchors.fill: stopNameLabel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.