touchgfx::TextArea::resizeToCurrentText() method
@fn void TextArea::resizeToCurrentText(); Sets the dimensions of the TextArea. Sets the dimensions of the TextArea to match the width and height of the current associated text for the current selected language. Please note that if the current text rotation is either 90 or 270 degrees, the width of the text area will be set to the height of the text and vice versa, as the text is rotated. @see setRotation @see resizeHeightToCurrentText
void resizeToCurrentText();
Examples
touchgfx::TextArea::resizeToCurrentText() is referenced by
3 libraries and example projects.