http://bugs.adobe.com/jira/browse/SDK-15567
Probably they're starting to hate me - I've already filed other 6 or 7 issues before this one :) Cosma Colanicchia --- In [email protected], EECOLOR <[EMAIL PROTECTED]> wrote: > > I totally agree here. I think you should file a bug report: > > https://bugs.adobe.com/flex/ > > > Greetz Erik > > > > On 5/14/08, Cosma <[EMAIL PROTECTED]> wrote: > > > > Consider the following MXML layout: > > > > <mx:VBox height="400" width="250" borderStyle="outset"> > > <mx:Box height="50" width="100%" borderStyle="outset"/> > > <mx:VBox height="100%" width="100%" borderStyle="outset" > > verticalAlign="middle" horizontalAlign="center"> > > <mx:Box height="250" width="50" borderStyle="inset"/> > > </mx:VBox> > > </mx:VBox> > > > > It will produce this result<http://img441.imageshack.us/img441/5864/01xf5.png>. > > Now, let's suppose that the inner box expand its height, growing taller than > > its container: > > > > <mx:VBox height="400" width="250" borderStyle="outset"> > > <mx:Box height="50" width="100%" borderStyle="outset"/> > > <mx:VBox height="100%" width="100%" borderStyle="outset" > > verticalAlign="middle" horizontalAlign="center"> > > <mx:Box height="450" width="50" borderStyle="inset"/> > > </mx:VBox> > > </mx:VBox> > > > > Some scrollbar has to appear.. and it does: see here<http://img530.imageshack.us/img530/5368/02ib6.png>. > > However, it is applied to the *outer* box. I can't find a way to have its > > immediate parent box showing the scrollbar using percentage size... only > > specifying an > > absolute size I can obtain this behavior: > > > > <mx:VBox height="400" width="250" borderStyle="outset"> > > <mx:Box height="50" width="100%" borderStyle="outset"/> > > <mx:VBox height="330" width="100%" borderStyle="outset" > > verticalAlign="middle" horizontalAlign="center"> > > <mx:Box height="450" width="50" borderStyle="inset"/> > > </mx:VBox> > > </mx:VBox> > > > > The result is shown here<http://img405.imageshack.us/img405/3853/03gx3.png>. > > IMO, applying a percentage size instead of an absolute one should not affect > > scrollbar behavior.. any ideas? > > > > Thanks in advance > > Cosma Colanicchia > > > > > > > > > > >

