But then the sidebar has knowledge of its container's height. If the container is resized, the sidebar will not resize. I simply made the outer container 150px to force scrolling and point out the problem.
On Fri, Mar 14, 2008 at 2:01 AM, arieljake <[EMAIL PROTECTED]> wrote: > It works if I add height="150" to the sidebar. > > > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, > "dfalling" <[EMAIL PROTECTED]> wrote: > > > > This seems like a really simple question, but I can't figure it out... > > I have a two-column view and want the columns to scroll independently > > of each other (if one needs to scroll, then it will show scrollbars.) > > I've tried dozens of combinations of height and can't get it to work. > > Either neither columns scroll, or both scroll together. > > > > Here's a basic example I'm trying. The sidebar below is too tall, and > > causing the entire interface to scroll. > > > > <mx:HBox height="150" width="100%" backgroundColor="#efefef"> > > <mx:VBox id="sidebar" width="200"> > > <mx:VBox backgroundColor="#330000" height="250" width="100%"/> > > </mx:VBox> > > <mx:VBox id="main"> > > <mx:Text fontWeight="bold" fontSize="16" text="main"/> > > </mx:VBox> > > </mx:HBox> > > > > >