It works, thank you very much! I'd missed that post. I'm going to mark the issue as NAB.
Cosma Colanicchia --- In [email protected], "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > Does setting minHeight = 0 help? > > http://tech.groups.yahoo.com/group/flexcoders/message/77204?threaded=1&p=1 > > > > > --- In [email protected], "Cosma" <cosmacol@> wrote: > > > > > > 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 <eecolor@> 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 <cosmacol@> 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 > > > > > > > > > > > > > > > > > > > > > > > > > >

