Layout controls with HBox : HBox « Container « Flex
- Flex
- Container
- HBox
Layout controls with HBox

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:HBox x="400" horizontalGap="10" top="15">
<mx:Canvas>
<mx:Button top="50" label="Button" y="20"/>
</mx:Canvas>
<mx:Panel height="40" width="40"/>
<mx:Spacer width="25"/>
<mx:LinkButton label="Label"/>
<mx:ComboBox/>
</mx:HBox>
</mx:Application>
Related examples in the same category