From b2d5c0d5fb4fa2cbdf054f8759a15f8a383e7095 Mon Sep 17 00:00:00 2001 From: Hannes Date: Sat, 29 Aug 2026 23:53:23 +0200 Subject: [PATCH] feat: refactor Notification.qml to handle negative implicitHeight values --- modules/notification/Notification.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/notification/Notification.qml b/modules/notification/Notification.qml index 3698a5d..8a9c631 100644 --- a/modules/notification/Notification.qml +++ b/modules/notification/Notification.qml @@ -16,7 +16,7 @@ PanelWindow { anchors.left: true // implicitHeight: screen.height/6 - implicitHeight: contentHeight+(content.spacing*(notificationListModel.count-1)) + implicitHeight: Math.max(contentHeight+(content.spacing*(notificationListModel.count-1)), 0) implicitWidth: contentWidth