Commit 4b4642b6 authored by Nate Graham's avatar Nate Graham 🔩
Browse files

[kcms/notifications] Port "no search result" message to PlaceholderMessage

Summary:
Now the appearance is consistent with other similar messages, as well as the
one to the right of it.

Test Plan: {F8326167}

Reviewers: #vdg, #plasma, broulik

Reviewed By: #plasma, broulik

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D29799
parent 873a3cc0
......@@ -140,18 +140,13 @@ Kirigami.Page {
}
}
QtControls.Label {
anchors {
verticalCenter: parent.verticalCenter
left: parent.left
right: parent.right
margins: Kirigami.Units.smallSpacing
}
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
text: i18n("No application or event matches your search term.")
Kirigami.PlaceholderMessage {
anchors.centerIn: parent
width: parent.width - (units.largeSpacing * 4)
visible: sourcesList.count === 0 && searchField.length > 0
enabled: false
text: i18n("No application or event matches your search term.")
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment