Flex Tile that expands as items are added to it

Posted by Lost_in_code on Stack Overflow See other posts from Stack Overflow or by Lost_in_code
Published on 2010-02-02T14:03:21Z Indexed on 2010/04/29 2:37 UTC
Read the original article Hit count: 290

Filed under:
|
|
|
<mx:Tile width="100%" height="20">
    <mx:Button label="btn"/>
    <mx:Button label="btn"/>
    <mx:Button label="btn"/>
    <mx:Button label="btn"/>
    <mx:Button label="btn"/>
    <mx:Button label="btn"/>
</mx:Tile>

The above Tile has a height of 20. When I add 50 new buttons to it, a vertical scrollbar is added. How can I make it not show the scrollbar but change it's height dynamically so that all the added items are always shown. Kinda like an "expanding" tile.

© Stack Overflow or respective owner

Related posts about flex

Related posts about tile