Set width for TextInput
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:TextInput id="text1" width="100"/> </mx:Application>