<mx:HBox xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" 
xmlns:lsmclassgroup="com.lsmonline.client.dto.*"
xmlns:lclassgroupView="com.lsmonline.client.view.course.classgroup.*"   height="100%" >
<mx:Panel title=
"Create Classgroup"  id="classgroupRegisterPanel" vScrollPolicy="auto" height="100%">
 
In my viewstack I add this component as
 <lclassgroup:classgroupRegister id="classgroupReg" label="Classgroup" width="100%" height="100%"  />
 
 
classgroupRegister is a HBox with 2 panels. I require each panel to have its own scroll bar. What I am getting now is scroll bar on HBox.
 
I do have the percentage height set. I also tried the vScrollPolicy. Using vScrollPolicy shows the scroll area but no bar.
 
Pl advise
Thanks
Husain

Manish Jethani <[EMAIL PROTECTED]> wrote:
On 10/15/05, Husain Kitabi <[EMAIL PROTECTED]> wrote:

> I have a
>
> Canvas
>      HBox
>             Panel1
>             Panel2
>      </HBox>
> Canvas

What's the MXML source look like?

> This canvas goes into my viewstack. I need a scroll bar in Panel 1. But what happens is it shows scroll bar on canvas. So both the panels move up and down.
> I tried using vscrollPolicy on each component, but not reached a solution yet.

Have you set height="100%" on the HBox?  Have you set percentage
heights on the Panel's?


Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to