feat: refactor Notification.qml to handle negative implicitHeight values
This commit is contained in:
@@ -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