oh i feel stupid. Occhams Razor. All I had to do was set the height on the scrollable VBox. duh
thanks again Alex --- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Try adding minHeight=0 to the HBox as well. Think of minHeight=0 as > "you can be smaller than your measured height". This propagates down > from the top so the TitleWindow will ask the HBox for its measuredHeight > which will include the tallest VBox, so the HBox needs to allow itself > to be shrunk below that value and the VBox does as well and when it > does, it should sprout scrollbars. > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Corey Smaller > Sent: Friday, February 08, 2008 4:41 PM > To: [email protected] > Subject: [flexcoders] Re: PopUp Containers and Scrolling Issues > > > > it is very strange to me indeed. I tried setting minHeight to 0 to no > avail. I am thinking it has to do with being inside of a popup box but > even so, a local variable declaration should override the container > declaration , correct? > here is an abbreviated version of the code. Currently the scrollbar > wont show up unless I enable verticalScrollpolicy in the titleWindow > header: > > <?xml version="1.0" encoding="utf-8"?> > <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml > <http://www.adobe.com/2006/mxml> " > layout="absolute" minWidth="740" > maxWidth="780" maxHeight="580" themeColor="haloBlue" > backgroundColor="#E1E1E1" > creationComplete="defaultButton=watchMovieButton; > watchMovieButton.setFocus(); onInit()" > showCloseButton ="false" horizontalScrollPolicy="off" > verticalScrollPolicy="off"> > > > <mx:HBox id="movHB"> > <mx:VBox horizontalScrollPolicy="off" > verticalScrollPolicy="off" width="314"> > <mx:Spacer height="15"/> > <mx:Image id="viewImage" width="388" > height="450"/> > <mx:HBox> > <mx:Button id="watchMovieButton" > label="Watch" > borderColor="0x000000" > width="120" height= "60" > focusThickness="5" /> > > <mx:Button id="closeThisButton" > label="Close" > width="120" height= "60" > borderColor="0x000000" > focusThickness="5" /> > > </mx:HBox> > </mx:VBox> > <mx:HBox id="aboutHB" > > > > /* THIS IS THE VBOX I WANT TO SCROLL */ > > <mx:VBox id="movInfoVB" horizontalScrollPolicy="off" > bottom="10" > verticalScrollPolicy="auto" minHeight="0" > verticalScrollPosition="200"> > <mx:Spacer height="15"/> > <mx:Text id="about" width ='300' /> > <mx:Text id="mGenre" width ='200' /> > <mx:Text id="star" width='200' /> > <mx:Text id="movieLength" width='200/> > <mx:VScrollBar id="movScroll" > tabEnabled="true" focusEnabled="true" > height="300" /> > </mx:VBox> > </mx:HBox> > > > > </mx:HBox> > </mx:TitleWindow> > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> > , "Alex Harui" <aharui@> wrote: > > > > That didn't quite make sense to me. The taller box is usually the one > > that gets scrollbars. Set minHeight=0 on whatever container you want > to > > have the scrollbar. > > > > > > > > ________________________________ > > > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> > [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> > ] On > > Behalf Of Corey Smaller > > Sent: Friday, February 08, 2008 2:28 PM > > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > > Subject: [flexcoders] PopUp Containers and Scrolling Issues > > > > > > > > ok, I have two VBoxes in my popup. and if the content on the left Vbox > > is greater than the hieght of the popup window a Vscroll bar should > > be present. So, I only want the VBox on the right to scroll, not all > > the popup content. > > > > When I change the <mx:TitleWindow verticalscrollpolicty="off"> NO > > Vscrollbars are allowed, even if at a local level in the VBox i enable > > the VScrollpolicy. anyone know how to get around this? > > >

