TextMeshPro width different when wrapping or when new line. Bug?
I am using the Vertical Layout Group to expand the RectTransform to the text written.
When a word is too long for a single line, it wraps on the second line, but keeps the width of the TMPro transform maxed out. (See yellow border)
The expected behaviour would be same as when I put a new line (pressing enter between one and the very long word), which makes the transform only as wide as the longest line. (See yellow border)
http://borbog.com/Forum/tmpro_error.gif
I tried using the newest TMPro version (3.0.4) but still same behaviour.
Any ideas? Thank you in advance.
Your answer
![](https://koobas.hobune.stream/wayback/20220613031657im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Textmesh pro doesn't show up in game object menu, so i cant add a textmesh pro object 0 Answers
Text won't properly update in Unity Bolt 1 Answer
Why is this List only showing one int? 0 Answers
textmesh OnTriggerEnter 1 Answer
Font Support 0 Answers