Create a Box container with a vertical layout : Box « Container « Flex






Create a Box container with a vertical layout

Create a Box container with a vertical layout
         
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Box direction="vertical" borderStyle="solid" paddingTop="10"
        paddingBottom="10" paddingLeft="10" paddingRight="10">
        <mx:Button id="fname" label="Button 1" />
        <mx:Button id="lname" label="Button 2" />
        <mx:Button id="addr1" label="Button 3" />
        <mx:ComboBox id="state" />
    </mx:Box>
</mx:Application>

   
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Define the top and bottom margins for all Box containersDefine the top and bottom margins for all Box containers