Set horizontal Alignment for GridRow
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Grid> <mx:GridRow> <mx:GridItem colSpan="2" horizontalAlign="right"> <mx:Button label="Submit"/> </mx:GridItem> </mx:GridRow> </mx:Grid> </mx:Application>