fixed notifications popup menu reserving too much space for the next card

This commit is contained in:
SomeElse
2026-04-27 08:41:02 +00:00
parent d817449e6b
commit 0fce9672f1
3 changed files with 46 additions and 33 deletions

View File

@@ -208,18 +208,19 @@ Rectangle {
Repeater {
model: activeToasts
Notif.NotificationCard {
width: toastCol.width
toastId: model.toastId
appName: model.appName
summary: model.summary
body: model.body
urgency: model.urgency
timeStr: model.timeStr
timeout: model.timeout
t: root.t
urgencyColor: root.urgencyColor
urgencyIcon: root.urgencyIcon
onDismissed: (id) => root.removeToast(id)
width: toastCol.width
toastId: model.toastId
appName: model.appName
summary: model.summary
body: model.body
urgency: model.urgency
timeStr: model.timeStr
timeout: model.timeout
t: root.t
urgencyColor: root.urgencyColor
urgencyIcon: root.urgencyIcon
slideFromRight: toastLayer.atRight
onDismissed: (id) => root.removeToast(id)
}
}
}