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

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Container » GridRowScreenshots 
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
w___w___w_.__j___a_v___a2___s___._co_m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.