Mega Code Archive

 
Categories / Flex / Container
 

VerticalLayout horizontal Align

<?xml version="1.0" encoding="utf-8"?> <mx:Application     xmlns:mx="http://www.adobe.com/2006/mxml"           xmlns:s="library://ns.adobe.com/flex/spark">     <s:BorderContainer width="120" height="100" backgroundColor="#FFFFFF">         <s:Scroller width="100%" height="100%">             <s:Group>                 <s:layout>                     <s:VerticalLayout horizontalAlign="justify" clipAndEnableScrolling="true"/>                 </s:layout>                 <mx:Button label="button (1)" />                 <mx:Button label="button (2)" />             </s:Group>         </s:Scroller>     </s:BorderContainer>      </mx:Application>