[flexcoders] Re: verticalscrollbar not showing after addChild

2009-03-31 Thread netdeep
Ok, I think I got measuredHeight and height mixed up, measuredHeight IS always larger, so that if I change the code, it detects the need for scroll bars: if (measuredHeight < height) verticalScrollPolicy = ScrollPolicy.ON; However, it still just shows the ghost of a verticalScrollbar (while ann

[flexcoders] Re: verticalscrollbar not showing after addChild

2009-03-31 Thread netdeep
Ok, sorry for the confusion, disregard the above posts. I've found the problem. I am using a custom Box component to mimic a flow layout. I just needed to set the height to 100% for that component to get it to work properly.