Use Canvas to wrap Buttons : Canvas « Components « Flex
- Flex
- Components
- Canvas
Use Canvas to wrap Buttons

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:HBox width="100%" height="100%">
<mx:Canvas width="50%" height="100%">
<mx:Button label="Button 1" bottom="10" right="10"/>
<mx:Button label="Button 2" bottom="40" right="10"/>
</mx:Canvas>
<mx:Panel width="50%" height="100%" layout="absolute">
</mx:Panel>
</mx:HBox>
</mx:Application>
Related examples in the same category