I think I cant use the Tile* components because they resize their tiles 
to the same width and height: resizing one tile will resize all the the 
rest.

Since I want a vertical list, can I use the List component to create a 
list with one checkbox on each item and expandable content for each item 
whenever I select that checkbox?

Thanks

Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



Alberto Albericio Salvador escribió:
> Hi all,
>
> I want to create a vertical dynamic UI and Im currently trying 2 approaches:
>
> 1)  <mx:TileList id="list" listItemRenderer="myThumbnail" 
> direction="vertical" dataProvider="{....}" />
>
> 2)    <mx:Tile direction="vertical" >
>              <mx:Repeater dataProvider="{...}" id="list">
>                    <myThumbnail myData="{list.currentItem}" />
>              </mx:Repeater>
>
> This is working ok in both cases BUT my myThumbnail.mxml component is 
> somehow resizable wheter the user selects a checkbox or not:
>
> <mx:CheckBox id="myCheck" label="{...}" />
> <mx:VBox visible="{myCheck.selected}" includeInLayout="{myCheck.selected}">
>         <mx:Label text="whatever" />
> </mx:VBox>
>
> In approach 1, a scrollbar appears if I select the checkbox of any of 
> the repeated objects instead of resizing the item at the TileList and 
> show the full component.
>
> In approach 2, the Tile item resizes fine only If I select the checkbox 
> at the first position. If I press the checkbox at the second, It resizes 
> the second item and  also resizes the first one!
>
> Basically, Im driven myself mad trying to make this working. Has anyone 
> a working example on something similar? A vertical repeatr component 
> with expandable items? or what am I doing wrong?
>
> Thanks in advance
>
>
>   


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to