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