Use Grid to layout controls : Grid « Container « Flex






Use Grid to layout controls

Use Grid to layout controls
          
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Grid>
        <mx:GridRow>
            <mx:GridItem width="100">
                <mx:Label text="Select a Color:"/>
            </mx:GridItem>
            <mx:GridItem>
                <mx:ColorPicker/>
            </mx:GridItem>
        </mx:GridRow>
    </mx:Grid>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Fill GridItem with ButtonFill GridItem with Button
2.Include five buttons across the top rowInclude five buttons across the top row
3.Grid Row SpanGrid Row Span
4.Select the last row in a GridSelect the last row in a Grid
5.Grid with column span and row spanGrid with column span and row span