Set width for TextInput : TextInput Style « Components « Flex






Set width for TextInput

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>

   
    
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Set style from the value in TextInputSet style from the value in TextInput
2.TextInput Disabled ColorsTextInput Disabled Colors
3.Using getStyle() and setStyle() methods to change the Button's fontSize style and display the new size in the TextInputUsing getStyle() and setStyle() methods to change the Button's fontSize style and display the new size in the TextInput
4.Add Move effect to TextInputAdd Move effect to TextInput
5.Specify Styles for HTML in a TextFieldSpecify Styles for HTML in a TextField