flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Federico De Maddalena" <f.demaddal...@patente.it>
Subject Size label font size to fit container
Date Mon, 03 Jun 2013 13:27:35 GMT

Hi!
is there an easy way to resize text of a spark label to fit container
size?

E.g.
<s:VGroup height="10%" width="100%">
	<s:Label width="100" text="...a long text..." id="label">
</s:VGroup >

I would set dynamically label fontSize, depending to label.text lenght.
TY
Federico

Mime
View raw message