Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feedback Please change behavior of text prefered size

Discussion in 'UGUI & TextMesh Pro' started by illinar, Nov 17, 2020.

  1. illinar

    illinar

    Joined:
    Apr 6, 2011
    Posts:
    862
    Maybe I don't use it correctly but it is basically impossible to get some text to fit onto a page with proper wrapping.

    The preferred size for a text currently is UNLIMITED size. Even though it is set to wrap. I don't understand how to limit that space. It doesn't want to wrap.

    It's not trying to fit within the given space and wrap, it just expands beyond it which makes no sense. And the minimal size is one character or zero? Why?


    upload_2020-11-17_12-14-40.png

    upload_2020-11-17_12-16-54.png
     
  2. illinar

    illinar

    Joined:
    Apr 6, 2011
    Posts:
    862
    Since the current behavior wont change because it will break people's UI's an option should be added that forces text to wrap and fit within the EXPLICITLY given size and WRAP mode set on.