FlowCanvas Forums › Support › Add search bar in node creation menu?
Just started to use a little bit flow canvas. There’s one thing that bothers me a lot: There’re so many node that I can create, find the very one that I want to create becomes really difficult. Is it possible to add a search bar either in the node creation menu or somewhere else so I can find the node I want to create much faster?
Hey,
If you use the “Space” Β or tilt “`” keyboard shortcut, it will open up the full browser menu which has a search bar.
Have you tried this one? π
Join us on Discord: https://discord.gg/97q2Rjh
Oh… I’m sorry I didn’t read the doc carefully. Thanks! π
One more thing, every time I pressed “Space” or “Tilde”, the full browser comes out which looks great, but as you start to type, you’ll notice that the search textbox is not focus… so you can’t input the search text as soon as you opened the full browser. Is it going to be fixed?
Hey, I’ve modified your code to implement auto focus on search bar when the full browser opens up. I used the function EditorGUI.FocusTextInControl(), like this:
GUI.SetNextControlName( “ToolbarSearchTextField” );
search = EditorGUILayout.TextField(search, (GUIStyle)”ToolbarSeachTextField”); // Your original code
EditorGUI.FocusTextInControl( “ToolbarSearchTextField” );
You can add it to the next version of NodeCanvas and FlowCanvas. Hope it helps π
Hey,
Thanks! I will add it in the next version π
Join us on Discord: https://discord.gg/97q2Rjh