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

Volker Krause <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 033107400e54b02881496496f4268e487efcd44b by Volker Krause.
Committed on 30/07/2026 at 16:36.
Pushed by vkrause into branch 'release/26.08'.

Stack stop name below adjacent labels

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

(cherry picked from commit 352872feeb9e03ec0534420990b7ccec49f4b66a)

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

https://invent.kde.org/pim/itinerary/-/commit/033107400e54b02881496496f4268e487efcd44b

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.