From e92cbd25a63403e2790f2c5c50cefaff79c310be Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 10 Aug 2025 21:23:56 +1000 Subject: lock: add date --- modules/lock/Center.qml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'modules/lock') diff --git a/modules/lock/Center.qml b/modules/lock/Center.qml index f760ef8..e3bf147 100644 --- a/modules/lock/Center.qml +++ b/modules/lock/Center.qml @@ -23,7 +23,6 @@ ColumnLayout { RowLayout { Layout.alignment: Qt.AlignHCenter - Layout.bottomMargin: Appearance.spacing.large spacing: Appearance.spacing.small StyledText { @@ -67,7 +66,19 @@ ColumnLayout { } } + StyledText { + Layout.alignment: Qt.AlignHCenter + Layout.topMargin: -Appearance.padding.large * 2 + + text: Time.format("dddd, d MMMM yyyy") + color: Colours.palette.m3tertiary + font.pointSize: Appearance.font.size.extraLarge + font.family: Appearance.font.family.mono + font.bold: true + } + StyledClippingRect { + Layout.topMargin: Appearance.spacing.large * 2 Layout.alignment: Qt.AlignHCenter implicitWidth: Config.lock.sizes.centerWidth / 2 -- cgit v1.2.3-freya