The behavior of how the size of the text box adjusts to fit the characters. Setting this property requires the font the be loaded.
textAutoResize: 'NONE' | 'WIDTH_AND_HEIGHT' | 'HEIGHT' | 'TRUNCATE'
- "NONE": The size of the textbox is fixed and is independent of its content.
- "HEIGHT": The width of the textbox is fixed. Characters wrap to fit in the textbox. The height of the textbox automatically adjusts to fit its content.
- "WIDTH_AND_HEIGHT": Both the width and height of the textbox automatically adjusts to fit its content. Characters do not wrap.
- "TRUNCATE": Like "NONE", but text that overflows the bounds of the text node will be truncated with an ellipse.