mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-19 20:48:09 +00:00
fix(ui/modules/Common/Form/SearchBox): handle correctly size
This commit is contained in:
parent
c392047c86
commit
48c0678b58
1 changed files with 4 additions and 1 deletions
|
|
@ -123,6 +123,9 @@ Item {
|
|||
DropDownDynamicMenu {
|
||||
id: menu
|
||||
|
||||
implicitHeight: list.height
|
||||
width: searchField.width
|
||||
|
||||
// If the menu is focused, the main window loses the active status.
|
||||
// So It's necessary to map the keys events.
|
||||
Keys.forwardTo: searchField
|
||||
|
|
@ -133,7 +136,7 @@ Item {
|
|||
id: list
|
||||
|
||||
headerPositioning: header ? ListView.OverlayHeader : ListView.InlineFooter
|
||||
width: searchField.width
|
||||
width: menu.width
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue