- Home /
Text does not wrap properly
I'm trying to wrap text, so that whenever it can't fit 1 line, it will at least try fitting two lines. See video for issue: http://webmshare.com/Onroy
It's OK that it can't always fit it for two lines, but it could at least try fitting it for two lines when few characters can't fit. The text is encased in an Input Field, with a Content type of standard and line type of 'single line'. Here are the settings of the text component:
I noticed that selecting 'Best Fit' and changing the max size affects the appearance a lot... It looks like it calculates the amount of characters to be shown the same way whether you choose a max size of 40 or 14, so you don't get more characters from choosing a smaller max-size, which has to be a bug?
Answer by dpan · Jan 17, 2016 at 05:31 PM
Try to put spaces in the line. Text wraps by spaces. In real world words separated by spaces.
It's not true that any language uses space to separate words. Example: Chinese Character. 不是所有的语言都是用空格隔开词的。So that the word wrap of Unity is useless when treating with Chinese.
Your answer
