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:
parent
14513ebcda
commit
d6234d0411
1 changed files with 8 additions and 7 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue