Hi,
For spark components, you have to specify Scroller explicitly.
<s:BorderContainer height="300" width="80%">
<s:layout>
<s:VerticalLayout />
</s:layout>
<s:Scroller height="100%" width="100%">
<s:TileGroup id="myTileGroup"
requestedColumnCount="2">
<s:Button label="Button 1" height="200"
width="200"/>
<s:Button label="Button 2" height="200"
width="200"/>
<s:Button label="Button 3" height="200"
width="200"/>
<s:Button label="Button 4" height="200"
width="200"/>
<s:Button label="Button 5" height="200"
width="200"/>
<s:Button label="Button 6" height="200"
width="200"/>
<s:Button label="Button 7" height="200"
width="200"/>
<s:Button label="Button 8" height="200"
width="200"/>
</s:TileGroup>
</s:Scroller>
</s:BorderContainer>
Thanks,
Renu Danu
On Sun, Sep 26, 2010 at 11:49 AM, vishal lad <[email protected]> wrote:
> Hi Friends,
> I have currenntly started working on Flex 4. I am using TileGroup in
> BOrderContainer. For TileGroup I have kept the columnCOunt = 2.And want Row
> Count to be Dynamic.But My Problem is I am not getting the default Scrolls
> in BorderContainer even if the Size of TileGroup height is increasing.Can
> you please help me with this? I have to to use TileGroup or similar control
> only where I can keep columnCount also dynamic.
> <?xml version="1.0" encoding="utf-8"?>
> <!-- containers\spark\SparkGroupContainerVarRowHeightTrue.mxml -->
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> xmlns:mx="library://ns.adobe.com/flex/halo"
> xmlns:s="library://ns.adobe.com/flex/spark"
> >
> <s:BorderContainer height="300" width="80%" >
> <s:layout>
> <s:VerticalLayout />
> </s:layout>
> <s:TileGroup id="myTileGroup" requestedColumnCount="2">
> <s:Button label="Button 1" height="200" width="200"/>
> <s:Button label="Button 2" height="200" width="200"/>
> <s:Button label="Button 3" height="200" width="200"/>
> <s:Button label="Button 4" height="200" width="200"/>
> <s:Button label="Button 5" height="200" width="200"/>
> <s:Button label="Button 6" height="200" width="200"/>
> <s:Button label="Button 7" height="200" width="200"/>
> <s:Button label="Button 8" height="200" width="200"/>
> </s:TileGroup>
> </s:BorderContainer>
> </s:Application>
>
> Thanks & Regards
> Vishal
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.