Yes....i agree with vivek
mention fixed width and height for panel you will get scrollbar.No
need to use canvas

On Mar 9, 6:20 pm, vivek agrawal <[email protected]> wrote:
> Mention fix height and width of the panel to solve your problem.
>
> On Tue, Mar 8, 2011 at 8:11 PM, madhavi chinni
> <[email protected]>wrote:
>
> > Hi,
>
> > I want to get a scrollbar for a panel if the data in the Panel is more
> > than its width and height.
> > Below is the code which I have written:
> > <mx:Panel width="78%" height="100%" horizontalScrollPolicy="auto"
> > verticalScrollPolicy="auto" id="layer" includeIn="graph"
> > horizontalAlign="center" title="Hierarchial Graph">
>
> >                        <controls:FlexExploreGraph id="flexgraph"
> > height="100%"
> > width="100%"/>
>
> >                </mx:Panel>
> > FlexExploreGraph is the custom component which I am displaying in the
> > Panel.
> > I am not getting the scrollbar even if the height of the data in the
> > customcomponent I am using is more than the height of the Panel.
>
> > Please help!!!
>
> > --
> > 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.
>
>

-- 
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.

Reply via email to