Add search bar in node creation menu?

FlowCanvas Forums Support Add search bar in node creation menu?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #229
    cdr2003
    Participant

    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?

    #230
    Gavalakis
    Keymaster

    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

    #232
    cdr2003
    Participant

    Oh… I’m sorry I didn’t read the doc carefully. Thanks! πŸ˜€

    #233
    cdr2003
    Participant

    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?

    #234
    cdr2003
    Participant

    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 πŸ˜€

    #235
    Gavalakis
    Keymaster

    Hey,

    Thanks! I will add it in the next version πŸ™‚

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.