diff --git a/applets/notifications/package/contents/ui/NotificationItem.qml b/applets/notifications/package/contents/ui/NotificationItem.qml --- a/applets/notifications/package/contents/ui/NotificationItem.qml +++ b/applets/notifications/package/contents/ui/NotificationItem.qml @@ -111,21 +111,25 @@ spacing: units.smallSpacing - NotificationHeader { - id: notificationHeading - Layout.fillWidth: true - Layout.leftMargin: notificationItem.headingLeftPadding - Layout.rightMargin: notificationItem.headingRightPadding + PlasmaContents.TopArea{ + bottomInset: thumbnailTopPadding / 2 + + NotificationHeader { + id: notificationHeading + Layout.fillWidth: true + Layout.leftMargin: notificationItem.headingLeftPadding + Layout.rightMargin: notificationItem.headingRightPadding - inGroup: notificationItem.inGroup + inGroup: notificationItem.inGroup - notificationType: notificationItem.notificationType - jobState: notificationItem.jobState - jobDetails: notificationItem.jobDetails + notificationType: notificationItem.notificationType + jobState: notificationItem.jobState + jobDetails: notificationItem.jobDetails - onConfigureClicked: notificationItem.configureClicked() - onDismissClicked: notificationItem.dismissClicked() - onCloseClicked: notificationItem.closeClicked() + onConfigureClicked: notificationItem.configureClicked() + onDismissClicked: notificationItem.dismissClicked() + onCloseClicked: notificationItem.closeClicked() + } } RowLayout { diff --git a/applets/notifications/package/contents/ui/NotificationPopup.qml b/applets/notifications/package/contents/ui/NotificationPopup.qml --- a/applets/notifications/package/contents/ui/NotificationPopup.qml +++ b/applets/notifications/package/contents/ui/NotificationPopup.qml @@ -165,7 +165,7 @@ NotificationItem { id: notificationItem // let the item bleed into the dialog margins so the close button margins cancel out - y: closable || dismissable || configurable ? -notificationPopup.margins.top : 0 + y: closable || dismissable || configurable ? -notificationPopup.margins.top / 2 : 0 headingRightPadding: -notificationPopup.margins.right width: parent.width hovered: area.containsMouse