Using multiple containers for more complex layouts
<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="http://www.adobe.com/2006/mxml"> <s:layout> <s:VerticalLayout /> </s:layout> <s:Group> <s:layout> <s:HorizontalLayout /> </s:layout> <mx:Button label="Button 1" /> <mx:Button label="Button 2" /> </s:Group> <s:Group> <s:layout> <s:HorizontalLayout /> </s:layout> <mx:Button label="Button 3" /> <mx:Button label="Button 4" /> </s:Group> </s:Application>