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 @@ -227,19 +227,22 @@ } } - PlasmaComponents.ToolButton { - id: closeButton - - width: units.iconSizes.smallMedium - height: width - flat: compact - - iconSource: "window-close" - - onClicked: close() + MouseArea { + id: closeButton + height: units.iconSizes.smallMedium + width: height + hoverEnabled: true + onClicked: close() + + PlasmaCore.IconItem { + id:closeIcon + anchors.fill: parent + active: parent.containsMouse + source: "window-close" + animated: false } - } + } RowLayout { id: bottomPart