Set TextMesh Pro width via script?
Hi! How can I adjust the TextMesh Pro container width/ height via script?
I've tried getting the TextContainer component to set .width, but either that's deprecated or I'm doing it wrong, but the TextContainer is null. I've also tried directly setting .width on the TextMeshPro component but that doesn't work either.
Thanks!
Comment
Your answer
Follow this Question
Related Questions
Textmesh.text: How to change it on playmode with the keyboard like in hierarchy? 1 Answer
Textmesh pro doesn't show up in game object menu, so i cant add a textmesh pro object 0 Answers
TMPro Rendering issue. 0 Answers
Duplicate Object Draw order text issue 1 Answer
Is it possible to place a TextMeshPro component under a SpriteMask? 1 Answer