Commit 48c0678b authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ui/modules/Common/Form/SearchBox): handle correctly size

parent c392047c
...@@ -123,6 +123,9 @@ Item { ...@@ -123,6 +123,9 @@ Item {
DropDownDynamicMenu { DropDownDynamicMenu {
id: menu id: menu
implicitHeight: list.height
width: searchField.width
// If the menu is focused, the main window loses the active status. // If the menu is focused, the main window loses the active status.
// So It's necessary to map the keys events. // So It's necessary to map the keys events.
Keys.forwardTo: searchField Keys.forwardTo: searchField
...@@ -133,7 +136,7 @@ Item { ...@@ -133,7 +136,7 @@ Item {
id: list id: list
headerPositioning: header ? ListView.OverlayHeader : ListView.InlineFooter headerPositioning: header ? ListView.OverlayHeader : ListView.InlineFooter
width: searchField.width width: menu.width
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment