Search Unity

TextArea and ScrollView problem.

Discussion in 'Immediate Mode GUI (IMGUI)' started by DWORD, Oct 17, 2014.

  1. DWORD

    DWORD

    Joined:
    Jun 22, 2010
    Posts:
    38
    If I put a TextArea (without Word Wrap) inside a ScrollView and type a text that goes out of bounds, the ScrollView does not follow the caret (see below).

    Captura10_17_20142.37.15PM.png
    (The "W" key is still pressed, but the horizontal scroll bar does not follow)

    Is there a Unity-way to do that or I have to write my own code?

    P.S. The UI entirely done in NGUI, but its input is not good enough. That's the reason I'm using Unity's GUI here.