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 @@ -30,7 +30,7 @@ MouseArea { id: notificationItem width: parent.width - implicitHeight: Math.max(appIconItem.valid || imageItem.nativeWidth > 0 ? units.iconSizes.large : 0, mainLayout.height) + implicitHeight: Math.max(appIconItem.valid || imageItem.nativeWidth > 0 ? units.iconSizes.large : 0, (mainLayout.height + 1.75 * units.smallSpacing)) // Add 1.75 units.smallSpacing to correct for the topMargin of mainLayout // We need to clip here because we support displaying images through // and if we don't clip, they will be painted over the borders of the dialog/item @@ -68,7 +68,7 @@ } if (hasDefaultAction) { - // the notifications was clicked, trigger the default action if set + // the notification was clicked, trigger the default action if set action("default") } } @@ -151,6 +151,8 @@ anchors { top: parent.top left: parent.left + leftMargin: units.smallSpacing + topMargin: units.smallSpacing } visible: imageItem.nativeWidth == 0 && valid @@ -170,9 +172,10 @@ anchors { top: parent.top + topMargin: units.smallSpacing * 0.75 left: appIconItem.valid || imageItem.nativeWidth > 0 ? appIconItem.right : parent.left right: parent.right - leftMargin: units.smallSpacing + leftMargin: units.smallSpacing * 2 } spacing: Math.round(units.smallSpacing / 2) @@ -211,7 +214,7 @@ width: units.iconSizes.smallMedium height: width visible: false - + iconSource: "configure" onClicked: {