diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2026-03-12 22:28:56 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2026-03-12 22:28:56 +1100 |
| commit | 229d17be35ff624c84af183a917e009e50d6e24b (patch) | |
| tree | 80949924497e666473fb8f3625cfcb1b398b0c82 | |
| parent | dashboard: gate network sparkline timers on visibility (diff) | |
| download | caelestia-shell-229d17be35ff624c84af183a917e009e50d6e24b.tar.gz caelestia-shell-229d17be35ff624c84af183a917e009e50d6e24b.tar.bz2 caelestia-shell-229d17be35ff624c84af183a917e009e50d6e24b.zip | |
notifs: add sourceSize to notification images
| -rw-r--r-- | modules/lock/NotifGroup.qml | 2 | ||||
| -rw-r--r-- | modules/notifications/Notification.qml | 2 | ||||
| -rw-r--r-- | modules/sidebar/NotifGroup.qml | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/modules/lock/NotifGroup.qml b/modules/lock/NotifGroup.qml index 85c5ec4..7fcb108 100644 --- a/modules/lock/NotifGroup.qml +++ b/modules/lock/NotifGroup.qml @@ -73,6 +73,8 @@ StyledRect { Image { source: Qt.resolvedUrl(root.image) fillMode: Image.PreserveAspectCrop + sourceSize.width: Config.notifs.sizes.image + sourceSize.height: Config.notifs.sizes.image cache: false asynchronous: true width: Config.notifs.sizes.image diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml index 8c2d3ec..1e8f8fe 100644 --- a/modules/notifications/Notification.qml +++ b/modules/notifications/Notification.qml @@ -124,6 +124,8 @@ StyledRect { anchors.fill: parent source: Qt.resolvedUrl(root.modelData.image) fillMode: Image.PreserveAspectCrop + sourceSize.width: Config.notifs.sizes.image + sourceSize.height: Config.notifs.sizes.image cache: false asynchronous: true } diff --git a/modules/sidebar/NotifGroup.qml b/modules/sidebar/NotifGroup.qml index 4e338da..2c032aa 100644 --- a/modules/sidebar/NotifGroup.qml +++ b/modules/sidebar/NotifGroup.qml @@ -100,6 +100,8 @@ StyledRect { Image { source: Qt.resolvedUrl(root.image) fillMode: Image.PreserveAspectCrop + sourceSize.width: Config.notifs.sizes.image + sourceSize.height: Config.notifs.sizes.image cache: false asynchronous: true width: Config.notifs.sizes.image |