Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Textfield and Toolbar focus collision

Discussion in 'Immediate Mode GUI (IMGUI)' started by egoga, Apr 4, 2018.

  1. egoga

    egoga

    Joined:
    Apr 4, 2018
    Posts:
    1
    I have been tinkering with EditorGUILayout.TextField() and GUILayout.Toolbar(). I have several Textfields editing values that are then displayed within a toolbar.

    Whenever I focus on one textfield, I can only make a single input. Then, the textfield become inert again.

    The problem does not appear whenever the modified text is displayed in a simple button or a label. In that case, it updates nicely along the user inputs and focus is not taken away. Sadly, those options don't suit my needs.


    Any heads up?