Awesome. I knew it was going to be something stupid. Thanks!
--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Put the Repeater inside of a Vbox. Vbox automatically lays out its
> children, but Canvas requires explicit x,y
>
>
>
> Or, set the Canvas layout to "vertical"
>
>
>
> Tracy
>
>
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of alehrens
> Sent: Monday, September 10, 2007 3:44 PM
> To: [email protected]
> Subject: [flexcoders] repeater items overlaying on each other
>
>
>
> I'm trying to use a repeater for an array of 5 objects and all 5
> overlay on top of each other. I'm missing something simple I think.
> Please help me figure out what it is...
>
> The code is below...
>
> <mx:Label text="RSS Feeds" fontSize="20" fontWeight="bold"/>
> <mx:Canvas id="mainRSSCanvas" width="100%" height="100%">
> <mx:Canvas id="FeedCanvas" height="295" y="149" width="100%">
> <mx:Label text="Available RSS Feeds" fontSize="16"
> fontWeight="bold" x="10" y="5" width="188" height="23"/>
> <mx:HDividedBox width="100%" height="100%" x="0" y="30">
> <mx:Canvas x="0" y="31" width="50%" height="100%"
> id="predefinedCanvas">
> <mx:Label text="Predefined RSS Feeds" fontSize="12" fontWeight="bold"
> x="59" y="0"/>
> <mx:Repeater count="{feedArray.length}" id="checkboxRepeater"
> dataProvider="{feedArray}" y="20">
> <mx:CheckBox height="20" id="feedCheckbox"
> label="{String(checkboxRepeater.currentItem.getName())}"
> selected="{Boolean(checkboxRepeater.currentItem.getSelectedFlag())}"
> click="toggleFeed()" x="10" y="28"/>
> </mx:Repeater>
> <mx:Canvas>
> </mx:HDividedBox>
> </mx:Canvas>
> </mx:Canvas>
>
> Thank you for the help.
>