4 Replies Latest reply on Jun 25, 2009 7:52 AM by yantzgh

    Line counts in s:TextInput or s:TextArea

    yantzgh

      Is there a way to get the number of lines in an s:TextInput or s:TextArea control?  I need to write some code that will change font size based on the number of lines so that if the text gets too long, I can make the font smaller so all content fits within the box.

       

      Thanks.