You might need to subclass and compute a measuredHeight that you like.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Mark
Sent: Thursday, August 30, 2007 5:58 AM
To: [email protected]
Subject: [flexcoders] first time Tile user needs some help, please

 

I'm using a Tile container and within that I have dynamic Repeater 
repeating checkboxes from an ArrayCollection. Everything works just 
fine with the exception of the Tile, it seems to want a height set 
for it. If I don't give a height it scrolls at about 100 pxls or 
so. What do I need to do so it Does Not scroll but isn't set to a 
size (exact pixel or 100%)?

CODE:

<mx:Tile direction="horizontal" borderStyle="none" width="100%" 
horizontalGap="5" verticalGap="5"
paddingLeft="5" paddingTop="5" paddingBottom="5" 
paddingRight="5">
<mx:Repeater id="rDI" dataProvider="{myACDI}">
<mx:CheckBox id="repDI" label="{rDI.currentItem}"/>
</mx:Repeater>
</mx:Tile>

Thanks

 

Reply via email to