Set height and width for GridRow and GridItem : GridRow « Container « Flex






Set height and width for GridRow and GridItem

Set height and width for GridRow and GridItem
         

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Grid>
      <mx:GridRow width="100%" height="100%">
        <mx:GridItem width="100%" height="100%">
          <mx:TextInput id="a" tabIndex="1" />
        </mx:GridItem>
        <mx:GridItem width="100%" height="100%">
          <mx:TextInput id="c" tabIndex="3" />
        </mx:GridItem>
        <mx:GridItem width="100%" height="100%">
          <mx:TextInput id="e" tabIndex="4" />
        </mx:GridItem>
        <mx:GridItem width="100%" height="100%">
          <mx:TextInput id="g" tabIndex="2" />
        </mx:GridItem>
      </mx:GridRow>
    </mx:Grid>
</mx:Application>

   
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Two GridRowsTwo GridRows
2.Set horizontal Alignment for GridRowSet horizontal Alignment for GridRow
3.Five buttons across the top row, you modify the first tagFive buttons across the top row, you modify the first <mx:GridRow> tag