I am developing a WebSite in whichI have 10 links in ApplicationControlBar
So I took ApplicationControlBar for Links
and I have created 10 MXML Components for 10 links
below that I have added a ViewStack with height=100% width=100%
and I put the above 10 components in the ViewStack
ViewStack is taking the height as the first component height
when I click on other link which is very height when compared to the first component in the ViewStack I am getting the ScrollBar Inside the ViewStack
it's very ugly to see the scrollbar in the ViewStack I want the ScrollBar at total application level based on the component height in the viewstack
Please help me........................
It's troubling me
Its true the ViewStack will be sized based on the first child. This link may help:
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
It didn't solve my problem
I moved to one step further by putting the resizeToContent="true" on the viewstack
initially viewstack first component contains less data but further components have large amount of data and at that time I am getting the vertical scroll it's fine but horizontal scroll is also coming when I got the vertical scroll policy but I don't need this.