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.
Hmm...not sure. Try researching measureText(). You may have to override some of the component methods.