Hi,

I had to do something similar - loop down the size until it fits :( Sorry, no joy here...

   Glen

mika wrote:
Hi,

I am creating textfields in zones with differents width and heights. The
content of textfiels depends on user input.
I'd like to change the font size of the textfield so that the text is fully
displayed (using wordwrap=true and autoSize)

I could imagine a testing loop that decreases  textfield font until it has
appropriate size, but that sounds rather nasty.

Anyone can think of a cleaner approach ? This is AS3

Thanks
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to