mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
Change search icon on toolbar to invoke search field on contacts
This commit is contained in:
parent
2360c3c27a
commit
b9d21f004c
2 changed files with 18 additions and 11 deletions
|
@ -160,22 +160,12 @@ Item
|
|||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
color: "white"
|
||||
|
||||
Image
|
||||
{
|
||||
id: searchIcon
|
||||
height: searchText.height / 2
|
||||
width: searchText.height / 2
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
source: "qrc:/icons/searvh.svg"
|
||||
}
|
||||
|
||||
TextField
|
||||
{
|
||||
id: searchText
|
||||
anchors.left: searchIcon.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
placeholderText : "Search contacts..."
|
||||
width: parent.width - searchIcon.width - 5
|
||||
width: parent.width - 5
|
||||
anchors.leftMargin: 5
|
||||
|
||||
background: Rectangle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue