How to: Automatically Wrap Text and Adjust Height of Text

Following the steps below:

1 Adjust setTextAreaSize as fixed width and height value 0.

2 Set ignoreContentAdaptWithSize true.