It works if I add height="150" to the sidebar.
--- In [email protected], "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>
>