From 872e0762b6b053736357ad0f1e019f846d21d222 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 11 Oct 2025 11:22:55 +0200 Subject: [PATCH] time column: fix am pm spacing --- .../ii/modules/background/cookieClock/TimeColumn.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/ii/modules/background/cookieClock/TimeColumn.qml b/.config/quickshell/ii/modules/background/cookieClock/TimeColumn.qml index c9fd3b4e0..bea8194fe 100644 --- a/.config/quickshell/ii/modules/background/cookieClock/TimeColumn.qml +++ b/.config/quickshell/ii/modules/background/cookieClock/TimeColumn.qml @@ -6,8 +6,9 @@ import qs.modules.common import qs.modules.common.widgets import qs.modules.common.functions import QtQuick +import QtQuick.Layouts -Column { +ColumnLayout { id: root required property list clockNumbers property bool isEnabled: Config.options.background.clock.cookie.timeIndicators @@ -24,7 +25,7 @@ Column { property bool hourMarksEnabled: Config.options.background.clock.cookie.hourMarks property bool isAmPm: !modelData.match(/\d{2}/i) property real numberSizeWithoutGlow: isAmPm ? 26 : 68 - property real numberSizeWithGlow: isAmPm ? 10 : 40 + property real numberSizeWithGlow: isAmPm ? 20 : 40 property real numberSize: root.isEnabled ? (hourMarksEnabled ? numberSizeWithGlow : numberSizeWithoutGlow) : 100 // open/close animation anchors.horizontalCenter: root.horizontalCenter