feat: refactor Notification.qml to handle negative implicitHeight values

This commit is contained in:
Hannes
2026-08-29 23:53:23 +02:00
parent f1d01cadf8
commit b2d5c0d5fb
+1 -1
View File
@@ -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