Skip to content

Commit 1c23c5e

Browse files
committed
[ui] 3DInspector: Implemented the updated toggle based search.
1 parent 1feaf16 commit 1c23c5e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

meshroom/ui/qml/Viewer3D/Inspector3D.qml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,11 @@ FloatingPane {
298298

299299
SearchBar {
300300
id: searchBar
301-
Layout.minimumWidth: 150
302-
Layout.fillWidth: true
303-
Layout.rightMargin: 10
304-
Layout.leftMargin: 10
301+
302+
toggle: true // enable toggling the actual text field by the search button
303+
Layout.minimumWidth: searchBar.width
304+
maxWidth: parent.width
305+
305306
}
306307

307308
ListView {

0 commit comments

Comments
 (0)