From dcde23a82ba509e47aed6c18d1c8e0cf2aa5daf2 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 10 May 2025 19:04:41 +1000 Subject: notifs: minor fixes --- modules/notifications/Content.qml | 5 +++-- 1 file 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 -- cgit v1.2.3-freya