summaryrefslogtreecommitdiff
path: root/modules/lock/NotifGroup.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-11 23:33:58 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-11 23:33:58 +1000
commit2c793ed8f0470b30d16e9431d07038cf8268fc95 (patch)
tree5814dd923712732ccecb89d81b08c39ceb1fac1b /modules/lock/NotifGroup.qml
parentlock: add notifs (diff)
downloadcaelestia-shell-2c793ed8f0470b30d16e9431d07038cf8268fc95.tar.gz
caelestia-shell-2c793ed8f0470b30d16e9431d07038cf8268fc95.tar.bz2
caelestia-shell-2c793ed8f0470b30d16e9431d07038cf8268fc95.zip
lock/notifs: add empty placeholder
Diffstat (limited to 'modules/lock/NotifGroup.qml')
-rw-r--r--modules/lock/NotifGroup.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/lock/NotifGroup.qml b/modules/lock/NotifGroup.qml
index 9be15cd..b119503 100644
--- a/modules/lock/NotifGroup.qml
+++ b/modules/lock/NotifGroup.qml
@@ -54,6 +54,8 @@ StyledRect {
fillMode: Image.PreserveAspectCrop
cache: false
asynchronous: true
+ width: Config.notifs.sizes.image
+ height: Config.notifs.sizes.image
}
}
@@ -123,10 +125,13 @@ StyledRect {
}
ColumnLayout {
+ Layout.topMargin: -Appearance.padding.small
+ Layout.bottomMargin: -Appearance.padding.small / 2 - (root.expanded ? 0 : spacing)
Layout.fillWidth: true
spacing: Math.round(Appearance.spacing.small / 2)
RowLayout {
+ Layout.bottomMargin: -parent.spacing
Layout.fillWidth: true
spacing: Appearance.spacing.smaller
@@ -139,6 +144,7 @@ StyledRect {
}
StyledText {
+ animate: true
text: root.notifs[0].timeStr
color: Colours.palette.m3outline
font.pointSize: Appearance.font.size.small