make search usable on mobile
This commit is contained in:
parent
b124cdfca2
commit
144e7cd038
2 changed files with 19 additions and 1 deletions
|
|
@ -673,6 +673,24 @@ Page {
|
|||
}
|
||||
}
|
||||
|
||||
ImageButton {
|
||||
visible: !collapsed
|
||||
Layout.fillWidth: true
|
||||
hoverEnabled: true
|
||||
ripple: false
|
||||
width: 22
|
||||
height: 22
|
||||
image: ":/icons/icons/ui/search.svg"
|
||||
ToolTip.visible: hovered
|
||||
ToolTip.delay: Nheko.tooltipDelay
|
||||
ToolTip.text: qsTr("Search rooms (Ctrl+K)")
|
||||
Layout.margins: Nheko.paddingMedium
|
||||
onClicked: {
|
||||
var quickSwitch = quickSwitcherComponent.createObject(timelineRoot);
|
||||
quickSwitch.open();
|
||||
}
|
||||
}
|
||||
|
||||
ImageButton {
|
||||
visible: !collapsed
|
||||
Layout.fillWidth: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue