Resize GUI TextArea with text height

Is it possible to resize a TextArea based on the length of a paragraph?

As an example, I would fill a TextArea with a string. With word wrap on it would reposition the height of the TextArea field based on how far down the string wraps.

did you try this?

Was also looking for this, thanks dude