In Flex, height and width are properties, not styles, so you can't set
them using CSS.  Flex CSS is not full CSS.

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Chris Kennon
Sent: Saturday, April 05, 2008 2:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Text Styles In FLEX 2

 

The following attempt to set the width property for the following 
element failed. How is the width property set?

<mx:Style>
Text{color: Blue; fontSize: 12px; width: 200px;}
</mx:Style>

<mx:Text>
<mx:text> Please use our site to find the technical books you need.</ 
mx:text>
</mx:Text>

 

Reply via email to