After increasing / decreasing the fontsize, and prior to making the call to adjust the height of the text area, try calling:
How to do it??
Because i am really confused using all methods. Do anybody provide me perfect code that will maintain autoresize of text area?
Create a custom component which is a subclass of TextArea and override measure() method.
textarea.calllater worked for me.
each and every time when i am changing any text property i am calling calllater event of text area.