Mega Code Archive

 
Categories / Flex / Container
 

Put both VBox and HBox to Canvas

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">     <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" >         <mx:VBox width="400" height="300" verticalGap="20">             <mx:Button label="Button"/>             <mx:ComboBox/>             <mx:Spacer height="120"/>             <mx:LinkButton label="Link Button"/>         </mx:VBox>         <mx:HBox x="400" horizontalGap="10" top="15">             <mx:Canvas>                 <mx:Button top="50" label="Button" y="20"/>             </mx:Canvas>             <mx:Panel height="140" width="140"/>             <mx:Spacer width="125"/>             <mx:LinkButton label="Label"/>             <mx:ComboBox/>         </mx:HBox>     </mx:Canvas>      </mx:Application>