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

This ensures that the proxy thumbnail item is stacked above the
placeholder text.
This commit is contained in:
Vlad Zahorodnii 2022-09-19 14:50:57 +03:00
parent 14513ebcda
commit d6234d0411

View file

@ -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 {