Also u can give fixed height and width to your outer container with scroll
policy having on for that and for inner container you may have scroll policy
off. so in that way if your inner container have some children within it,
that will force your inner container to be larger than your outer container
respective scroll bars will appear at that stage so you can have view of all
the children of your inner container.
Here is small demo code:
<mx:Canvas height="500" width="500" horizontalScrollPolicy="on"
verticalScrollPolicy="on" borderColor="red" borderStyle="solid">
<mx:VBox height="1000" width="1000" horizontalScrollPolicy="off"
verticalScrollPolicy="off" backgroundColor="green">
<mx:Spacer width="1000" height="1000" />
</mx:VBox>
</mx:Canvas>
Here you can replace the height and width value of inner container with some
dynamic values. And if you dont want scroll bar at all inn your application
then what Vaibhav said should be fine for you.
Regards,
Kalpesh Mahida
On Fri, Mar 20, 2009 at 11:27 PM, Vaibhav/Steve
<[email protected]>wrote:
>
> One solution could be that you can scale the content with in your
> container.
> Or you can scale your container and put it inside another container.
> use scaleX / scaleY properties.
>
> :Vaibhav
>
> On Mar 20, 3:49 pm, Yogesh Gaur <[email protected]> wrote:
> > http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scroll...
> >
> > On Mar 20, 9:21 am, Rosegarden <[email protected]> wrote:
> >
> > > I would like to get rid off the scroll bars i have in my container ,
> > > but this time i may not be able to show all contents inside of it. Is
> > > there any way to do so to get rid off the scroll bar and to show all
> > > the contents.
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---