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 😀
Login
Register
By registering on this website you agree to our Privacy Policy.