From 48c0678b580be27a3c435fdffb02391e0fa08cd3 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 16 May 2017 17:24:37 +0200 Subject: [PATCH] fix(ui/modules/Common/Form/SearchBox): handle correctly size --- linphone-desktop/ui/modules/Common/Form/SearchBox.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/linphone-desktop/ui/modules/Common/Form/SearchBox.qml b/linphone-desktop/ui/modules/Common/Form/SearchBox.qml index e69d41e89..5c004881c 100644 --- a/linphone-desktop/ui/modules/Common/Form/SearchBox.qml +++ b/linphone-desktop/ui/modules/Common/Form/SearchBox.qml @@ -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 } } }