[ui] NodeEditor: Implementation of Toggle based Search.

Node Editor search can now be toggled making it take lesser space by default.
This commit is contained in:
waaake 2024-11-30 20:17:06 +05:30
parent 3a04ce668f
commit 9404b73845

View file

@ -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
}