diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-10 21:23:56 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-10 21:23:56 +1000 |
| commit | e92cbd25a63403e2790f2c5c50cefaff79c310be (patch) | |
| tree | bcabbcfecb7b82e6324251c83d9d2a5901674482 /modules/lock/Center.qml | |
| parent | lock: center password field + placeholder states (diff) | |
| download | caelestia-shell-e92cbd25a63403e2790f2c5c50cefaff79c310be.tar.gz caelestia-shell-e92cbd25a63403e2790f2c5c50cefaff79c310be.tar.bz2 caelestia-shell-e92cbd25a63403e2790f2c5c50cefaff79c310be.zip | |
lock: add date
Diffstat (limited to '')
| -rw-r--r-- | modules/lock/Center.qml | 13 |
1 files changed, 12 insertions, 1 deletions
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 |