From 4715ab9bb6668d177bc42ecc6a594f3831b99384 Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 12 Apr 2026 23:05:07 +0200 Subject: [PATCH] background overlay: vertically center clock digits and colon --- modules/BackgroundOverlay.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/BackgroundOverlay.qml b/modules/BackgroundOverlay.qml index 6a47233..0328eb5 100644 --- a/modules/BackgroundOverlay.qml +++ b/modules/BackgroundOverlay.qml @@ -39,11 +39,13 @@ PanelWindow { font.pixelSize: 72 font.family: M.Theme.fontFamily font.bold: true + anchors.verticalCenter: parent.verticalCenter } Text { id: colon text: ":" font.pixelSize: 72 + anchors.verticalCenter: parent.verticalCenter font.family: M.Theme.fontFamily font.bold: true @@ -77,6 +79,7 @@ PanelWindow { text: Qt.formatDateTime(clock.date, "mm") color: M.Theme.base05 opacity: 0.7 + anchors.verticalCenter: parent.verticalCenter font.pixelSize: 72 font.family: M.Theme.fontFamily font.bold: true