Perhaps a TileList might work for you?

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of kasey.mccurdy
Sent: Friday, December 22, 2006 11:05 AM
To: [email protected]
Subject: [flexcoders] Wrapping multiple text items

 

Hi there -- i have a very very basic question.

I'm trying to layout 6 text items inside an HBox -- id like them to
wrap when they get to the edge of the HBox (like CSS floating)...but
it seems that the 6 text items just go straight out in a line (they
dont wrap inside the HBox)...my code is as follows:

<mx:HBox styleName="linksetLinks"
width="212" height="50" verticalScrollPolicy="off"> 
<mx:Text text="Quick Prepare" />
<mx:Text text="Beef" />
<mx:Text text="Chicken" />
<mx:Text text="Low-carb" />
<mx:Text text="Vegetarian" />
<mx:Text text="More..." />
</mx:HBox>

they end up looking like this:
Quick prepare beef chicken low-carb vegetarian more...

i want something like this:
Quick prepare beef chicken
low-carb vegetarian more...

is there a better (or any) way to accomplish what im trying to do?

 

Reply via email to