Stop NotificationHistory from clipping, move to Modules/Notification/
This commit is contained in:
parent
c2ff8b1755
commit
b09043e6ee
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue