Search Unity

Why can't i get a input field multiline no wrap.

Discussion in 'UGUI & TextMesh Pro' started by leandroreschke, Dec 15, 2018.

  1. leandroreschke

    leandroreschke

    Joined:
    Jan 8, 2014
    Posts:
    12
    I'm making a puzzle game where you have to write some things down and as part of the HUD i can't have it too big so i wanted to create a input field that was multiline and no wrap on the same time and i discovered that unity obligate me to have wrap with multiline. Is that like this since beginning and no one noticed it? Cuz it's crazzy to believe it. And when i try to use Text Mesh Pro it work barely because it let me have no wrap multiline but the caret is bugged, it doesn't drag the window to left, only if you have a character in the front of your caret.

    How can i achieve the same behaviour as any text editor available in the world? Just like Visual studio, when you go pass the marging it brings the scroll to the right, no wrap.