That's definitely not built-in.  You'll have to run your own routine to
figure it out.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of mthomas1969
Sent: Friday, October 05, 2007 3:31 PM
To: [email protected]
Subject: [flexcoders] Autosizing Text to fit alloted space



Does anyone know of an easy way to autosize text (ie. adjust the font 
size) in order for a particular text string to fit into a prealloted 
space? I'd like to have a label that is set to a specific width and 
then put a text string into it and have the size of the font adjust 
itself so that the string fits into the label. 

I've written similar functions using .NET, but am wondering if I must 
do the same in Flex, or is there something that already does this?

Thanks-
Matt Thomas



 

Reply via email to