<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
width="640"
height="480"
>
<mx:VBox top="100" bottom="10" horizontalCenter="0" width="90%"
horizontalAlign="left" verticalGap="5" id="debugWinVB_ID">
</mx:VBox>
</mx:Application>
At the start of the application the VBox height is 370 (Application.height -
vbox.top - vbox.bottom) -> Correct.
Child labels are added to this vbox in runtime and as soon as the cumulative
labels height becomes > 370 the vbox expands and scroll bars appear @ the
Application level...Why?
Should not the Vbox remain @ 370 height and display inner scrollbars, according
to the following rule:?
* Component size determined by a pair of constraint-based layout properties
(left-right or top-bottom) overrides any explicit or percentage-based size
specifications. For example, if you specify both left and right constraints,
the calculated constraint-based width overrides the width set by a width or
percentWidth property.