feat: refactor Notification.qml to handle negative implicitHeight values
This commit is contained in:
1 parent
f1d01cadf8
commit
b2d5c0d5fb
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user