5 Replies Latest reply on Sep 1, 2009 11:40 PM by ckisthebest

    reset textarea height while increasing font size


      Hi all,


      I am using text area. While increasing font size it is not resizing.


      canvasText = new TextArea();


      _canvasText.height = _canvasText.textHeight + _canvasText.getLineMetrics(0).height;


      i am using this code to calculate height of text area.


      Its working while i input the text. but while increasing font size it maintains old value. Again when i input text it calculates new one.


      Please any one can suggest me solution.


      Thanks in advance,