<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:s="library://ns.adobe.com/flex/spark">
<s:Group>
<s:layout>
<s:VerticalLayout variableRowHeight="false" typicalLayoutElement="{btn3}" />
</s:layout>
<mx:Button id="btn1" label="(1) button" />
<mx:Button id="btn2" label="(2) button" height="50" />
<mx:Button id="btn3" label="(3) button" height="30" />
<mx:Button id="btn4" label="(4) button" />
</s:Group>
</mx:Application>
|