From 1a0003ca074d4ae313f6031185ff5240ce1bd32d Mon Sep 17 00:00:00 2001 From: Damocles Date: Wed, 15 Apr 2026 23:45:57 +0200 Subject: [PATCH] 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. --- modules/Clock.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/Clock.qml b/modules/Clock.qml index 6506124..9ceeb6e 100644 --- a/modules/Clock.qml +++ b/modules/Clock.qml @@ -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") }