textAutoResize
The behavior of how the size of the text box adjusts to fit the characters. Setting this property requires the font the be loaded.
Supported On:
Signature
textAutoResize: 'NONE' | 'WIDTH_AND_HEIGHT' | 'HEIGHT' | 'TRUNCATE'
Remarks
- "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.