Packagestarling.text
Classpublic class TextFieldAutoSize
InheritanceTextFieldAutoSize Inheritance Object

This class is an enumeration of constant values used in setting the autoSize property of the TextField class.



Public Constants
 ConstantDefined By
  BOTH_DIRECTIONS : String = bothDirections
[static] The text field will grow to the right and bottom; no line-breaks will be added.
TextFieldAutoSize
  HORIZONTAL : String = horizontal
[static] The text field will grow/shrink sidewards; no line-breaks will be added.
TextFieldAutoSize
  NONE : String = none
[static] No auto-sizing will happen.
TextFieldAutoSize
  VERTICAL : String = vertical
[static] The text field will grow/shrink downwards, adding line-breaks when necessary.
TextFieldAutoSize
Constant Detail
BOTH_DIRECTIONSConstant
public static const BOTH_DIRECTIONS:String = bothDirections

The text field will grow to the right and bottom; no line-breaks will be added.

HORIZONTALConstant 
public static const HORIZONTAL:String = horizontal

The text field will grow/shrink sidewards; no line-breaks will be added. The height of the text field remains unchanged. Not supported for HTML text!

NONEConstant 
public static const NONE:String = none

No auto-sizing will happen.

VERTICALConstant 
public static const VERTICAL:String = vertical

The text field will grow/shrink downwards, adding line-breaks when necessary. The width of the text field remains unchanged.