perf: stabilize clock width to prevent bar layout cascade

when clock text changed width (e.g. minute tick), the center section
shifted, causing all bargroups to recompute _posFrac and borderColor.
minText prevents the layout shift entirely.
This commit is contained in:
Damocles 2026-04-15 23:45:57 +02:00
parent 7ddf13eb62
commit 1a0003ca07

View file

@ -10,5 +10,6 @@ M.BarLabel {
font.pixelSize: M.Theme.fontSize + 1
label: Qt.formatDateTime(clock.date, "ddd, dd. MMM HH:mm")
minText: "Mi., 00. Sep. 00:00"
tooltip: Qt.formatDateTime(clock.date, "dddd, dd. MMMM yyyy\nHH:mm:ss")
}