Dynamically resizable textarea
I was wondering if there was a simple way to dynamically resize the number
of rows of a text area depending on its' content.
My problem is I want to display long Strings into a TextArea of fixed width
(let's say 25 columns) and I want the TextArea to expand vertically
depending on the size of the string (Word Wrap sort of)...
Is there any way to do this easily or is it my responsibility to do the word
/ line wrapping first, calculate how many lines I will get for a given width
, and then resize the TextArea manually ?
Many thanks for your help.