Commit 51894b31 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

effects/windowview: Re-order placeholder text and window heap

This ensures that the proxy thumbnail item is stacked above the
placeholder text.


(cherry picked from commit d6234d04)
parent 11f7387b
Pipeline #234609 passed with stage
in 19 minutes and 45 seconds
......@@ -89,6 +89,14 @@ Item {
}
}
PlasmaExtras.PlaceholderMessage {
anchors.centerIn: parent
width: parent.width - (PlasmaCore.Units.gridUnit * 8)
visible: heap.count === 0
iconName: "edit-none"
text: effect.searchText.length > 0 ? i18nd("kwin_effects", "No Matches") : i18nd("kwin_effects", "No Windows")
}
ColumnLayout {
width: targetScreen.geometry.width
height: targetScreen.geometry.height
......@@ -190,13 +198,6 @@ Item {
onActivated: effect.deactivate(container.effect.animationDuration);
}
}
PlasmaExtras.PlaceholderMessage {
anchors.centerIn: parent
width: parent.width - (PlasmaCore.Units.gridUnit * 8)
visible: heap.count === 0
iconName: "edit-none"
text: effect.searchText.length > 0 ? i18nd("kwin_effects", "No Matches") : i18nd("kwin_effects", "No Windows")
}
Repeater {
model: KWinComponents.ClientFilterModel {
......
Supports Markdown
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