Automatically set number of lines in text area based on content

I would like to automatically set the number of lines in a text area based on the content. In the 2.4 version of the Modeler, you can set the fixed number of lines of a text area, but I would like to set it to automatically / dynamic. Is that possible in 2.4? Is it possible in 2.5, or do I need a custom widget?
1 answers

In 2.5 the Rich Text viewer can do this. Set the height property to zero (auto), and the no rich text property to true to indicate that you are not rendering HTML, to mimic the behavior of a normal text area.