From ae3d55912f7790a0228d84ce13047b4142f86c62 Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 12 Apr 2026 20:53:42 +0200 Subject: [PATCH] center text in labels with minText padding --- modules/BarLabel.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/BarLabel.qml b/modules/BarLabel.qml index 726197e..3f1ce9d 100644 --- a/modules/BarLabel.qml +++ b/modules/BarLabel.qml @@ -12,6 +12,7 @@ Text { text: label width: minText ? Math.max(implicitWidth, _minMetrics.width) : implicitWidth + horizontalAlignment: minText ? Text.AlignHCenter : Text.AlignLeft color: M.Theme.base05 font.pixelSize: M.Theme.fontSize font.family: M.Theme.fontFamily