From 9404b73845a62544a0474a2ba98bde773933438a Mon Sep 17 00:00:00 2001 From: waaake Date: Sat, 30 Nov 2024 20:17:06 +0530 Subject: [PATCH] [ui] NodeEditor: Implementation of Toggle based Search. Node Editor search can now be toggled making it take lesser space by default. --- meshroom/ui/qml/GraphEditor/NodeEditor.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meshroom/ui/qml/GraphEditor/NodeEditor.qml b/meshroom/ui/qml/GraphEditor/NodeEditor.qml index d405efa873..a97400ab7a 100644 --- a/meshroom/ui/qml/GraphEditor/NodeEditor.qml +++ b/meshroom/ui/qml/GraphEditor/NodeEditor.qml @@ -104,7 +104,9 @@ Panel { SearchBar { id: searchBar - width: 150 + toggle: true // Enable toggling the actual text field by the search button + Layout.minimumWidth: searchBar.width + maxWidth: 150 enabled: tabBar.currentIndex === 0 || tabBar.currentIndex === 5 }