1 Reply Latest reply on Dec 7, 2009 11:42 PM by vertex_shader

    How to fit text in text area?

    chandu3107 Level 2

      Hi,Text Area.JPG


      I am using text area in my project. I add text area to a canvas for drag drop and resize effect.

      My problem is that I want to fit text perfect in text area, there should not be any vertical gap.


      From above image you can see, cusror in text area is much bigger than text, i think thats why it adds extra space in text area.


      I calculate internal text filed height on resize and text input event, if text area already contains some extra height, while calculation that height is

      automatically added, I dont know why this is happening.


      Any one give me idea how to fit text perfect in text area. I am using embedded fonts.