Fix search item being behind the roomlist in collapsed mode by moving code into ListView. Now the search item is always at the top of the list.
This commit is contained in:
@@ -68,6 +68,13 @@ Kirigami.ScrollablePage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ListView {
|
||||||
|
id: listView
|
||||||
|
|
||||||
|
activeFocusOnTab: true
|
||||||
|
clip: accountList.count > 1
|
||||||
|
|
||||||
header: QQC2.ItemDelegate {
|
header: QQC2.ItemDelegate {
|
||||||
visible: page.collapsedMode
|
visible: page.collapsedMode
|
||||||
action: Kirigami.Action {
|
action: Kirigami.Action {
|
||||||
@@ -93,13 +100,6 @@ Kirigami.ScrollablePage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ListView {
|
|
||||||
id: listView
|
|
||||||
|
|
||||||
activeFocusOnTab: true
|
|
||||||
clip: accountList.count > 1
|
|
||||||
|
|
||||||
Kirigami.PlaceholderMessage {
|
Kirigami.PlaceholderMessage {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
width: parent.width - (Kirigami.Units.largeSpacing * 4)
|
width: parent.width - (Kirigami.Units.largeSpacing * 4)
|
||||||
|
|||||||
Reference in New Issue
Block a user