diff --git a/applets/notifications/package/contents/ui/FullRepresentation.qml b/applets/notifications/package/contents/ui/FullRepresentation.qml --- a/applets/notifications/package/contents/ui/FullRepresentation.qml +++ b/applets/notifications/package/contents/ui/FullRepresentation.qml @@ -71,6 +71,7 @@ RowLayout { Layout.fillWidth: true + spacing: 0 RowLayout { id: dndRow @@ -190,6 +191,13 @@ Layout.fillWidth: true } + PlasmaComponents.ToolButton { + iconName: "edit-clear-history" + tooltip: i18n("Clear History") + visible: plasmoid.action("clearHistory").visible + onClicked: action_clearHistory() + } + PlasmaComponents.ToolButton { iconName: "configure" // remove mnemonics @@ -340,24 +348,6 @@ prefix: "pressed" } - header: RowLayout { - width: list.width - - PlasmaExtras.Heading { - Layout.fillWidth: true - level: 3 - opacity: 0.6 - text: list.count === 0 ? i18n("No unread notifications.") : i18n("Notifications") - } - - PlasmaComponents.ToolButton { - iconName: "edit-clear-history" - tooltip: i18n("Clear History") - visible: plasmoid.action("clearHistory").visible - onClicked: action_clearHistory() - } - } - add: Transition { SequentialAnimation { PauseAnimation { duration: units.longDuration } @@ -557,6 +547,14 @@ } } } + + PlasmaExtras.Heading { + width: list.width + level: 3 + opacity: 0.6 + text: i18n("No unread notifications.") + visible: list.count === 0 + } } } }