background overlay: vertically center clock digits and colon

This commit is contained in:
Damocles 2026-04-12 23:05:07 +02:00
parent bf40be76c5
commit 4715ab9bb6

View file

@ -39,11 +39,13 @@ PanelWindow {
font.pixelSize: 72 font.pixelSize: 72
font.family: M.Theme.fontFamily font.family: M.Theme.fontFamily
font.bold: true font.bold: true
anchors.verticalCenter: parent.verticalCenter
} }
Text { Text {
id: colon id: colon
text: ":" text: ":"
font.pixelSize: 72 font.pixelSize: 72
anchors.verticalCenter: parent.verticalCenter
font.family: M.Theme.fontFamily font.family: M.Theme.fontFamily
font.bold: true font.bold: true
@ -77,6 +79,7 @@ PanelWindow {
text: Qt.formatDateTime(clock.date, "mm") text: Qt.formatDateTime(clock.date, "mm")
color: M.Theme.base05 color: M.Theme.base05
opacity: 0.7 opacity: 0.7
anchors.verticalCenter: parent.verticalCenter
font.pixelSize: 72 font.pixelSize: 72
font.family: M.Theme.fontFamily font.family: M.Theme.fontFamily
font.bold: true font.bold: true