diff --git a/applets/notifications/package/contents/ui/NotificationHeader.qml b/applets/notifications/package/contents/ui/NotificationHeader.qml --- a/applets/notifications/package/contents/ui/NotificationHeader.qml +++ b/applets/notifications/package/contents/ui/NotificationHeader.qml @@ -207,15 +207,17 @@ onClicked: notificationHeading.closeClicked() PlasmaCore.IconItem { - anchors.fill: parent - anchors.margins: units.smallSpacing + units.devicePixelRatio * 2 + anchors.centerIn: parent + width: units.iconSizes.smallMedium + height: width + source: "window-close" roundToIconSize: false active: closeButton.hovered Charts.PieChart { anchors.fill: parent - anchors.margins: -units.devicePixelRatio + anchors.margins: -Math.round(units.devicePixelRatio) opacity: (notificationHeading.remainingTime > 0 && notificationHeading.remainingTime < notificationHeading.timeout) ? 1 : 0 Behavior on opacity { @@ -229,7 +231,7 @@ backgroundColor: theme.highlightColor - thickness: units.devicePixelRatio * 5 + thickness: Math.round(units.devicePixelRatio) * 5 } } }