How to limit TextArea row number
dukkeDec 1 2011 — edited Dec 1 2011Hi,
I want to set the TextArea row number to 1 initially. And I want the number of rows to grow dynamically as the user inserts "enters".
I could do this in javafx 1.3 with the lines property, in javafx 2.0 that is gone. I've tried using the setPrefRowCount(..) but it doesn't do anything (I suppose because it's just a preferred setting).
How can I achieve this in javafx2.0?
Thanks in advance,
Pedro Duque Vieira