Make ChooseRoomDialog a SearchPage
Makes it look a bit nicer and more standardised
This commit is contained in:
@@ -75,6 +75,11 @@ Kirigami.ScrollablePage {
|
||||
*/
|
||||
property alias listVerticalLayoutDirection: listView.verticalLayoutDirection
|
||||
|
||||
/**
|
||||
* @brief Set the visibility of the search button.
|
||||
*/
|
||||
property bool showSearchButton: true
|
||||
|
||||
/**
|
||||
* @brief Force the search field to be focussed.
|
||||
*/
|
||||
@@ -127,6 +132,7 @@ Kirigami.ScrollablePage {
|
||||
id: searchButton
|
||||
icon.name: "search"
|
||||
display: QQC2.Button.IconOnly
|
||||
visible: root.showSearchButton
|
||||
text: i18nc("@action:button", "Search")
|
||||
|
||||
onClicked: {
|
||||
|
||||
Reference in New Issue
Block a user