Stop NotificationHistory from clipping, move to Modules/Notification/

This commit is contained in:
Ly-sec 2025-08-13 16:38:21 +02:00
parent c2ff8b1755
commit b09043e6ee

View file

@ -152,12 +152,12 @@ NLoader {
Layout.fillHeight: true Layout.fillHeight: true
model: NotificationService.historyModel model: NotificationService.historyModel
spacing: Style.marginMedium * scaling spacing: Style.marginMedium * scaling
clip: true clip: false
boundsBehavior: Flickable.StopAtBounds boundsBehavior: Flickable.StopAtBounds
delegate: Rectangle { delegate: Rectangle {
width: notificationList ? (notificationList.width - 20) : 380 * scaling width: notificationList ? (notificationList.width - 20) : 380 * scaling
height: 80 height: Math.max(80, notificationContent.height + 30)
radius: Style.radiusMedium * scaling radius: Style.radiusMedium * scaling
color: notificationMouseArea.containsMouse ? Colors.accentPrimary : "transparent" color: notificationMouseArea.containsMouse ? Colors.accentPrimary : "transparent"
@ -170,6 +170,7 @@ NLoader {
// Notification content // Notification content
Column { Column {
id: notificationContent
Layout.fillWidth: true Layout.fillWidth: true
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
spacing: 5 spacing: 5