diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-10 19:04:41 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-10 19:04:41 +1000 |
| commit | dcde23a82ba509e47aed6c18d1c8e0cf2aa5daf2 (patch) | |
| tree | f1d874293ea937f13140244256ae50f8167a9986 /modules/notifications | |
| parent | refactor: manually animate rect if needed (diff) | |
| download | caelestia-shell-dcde23a82ba509e47aed6c18d1c8e0cf2aa5daf2.tar.gz caelestia-shell-dcde23a82ba509e47aed6c18d1c8e0cf2aa5daf2.tar.bz2 caelestia-shell-dcde23a82ba509e47aed6c18d1c8e0cf2aa5daf2.zip | |
notifs: minor fixes
Diffstat (limited to 'modules/notifications')
| -rw-r--r-- | modules/notifications/Content.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/notifications/Content.qml b/modules/notifications/Content.qml index a40ec65..ef5c0c0 100644 --- a/modules/notifications/Content.qml +++ b/modules/notifications/Content.qml @@ -14,7 +14,7 @@ Item { anchors.right: parent.right implicitWidth: NotifsConfig.sizes.width + root.padding * 2 - implicitHeight: Math.max(61, list.height) + root.padding * 2 + implicitHeight: list.height + root.padding * 2 ListView { id: list @@ -32,9 +32,10 @@ Item { let height = (count - 1) * spacing; for (let i = 0; i < count; i++) height += itemAtIndex(i).height; - return height; + return Math.max(61, height); } + clip: true orientation: Qt.Vertical spacing: Appearance.spacing.smaller |