Package | starling.text |
Class | public class TextFieldAutoSize |
Inheritance | TextFieldAutoSize Object |
Constant | Defined 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 |
BOTH_DIRECTIONS | Constant |
public static const BOTH_DIRECTIONS:String = bothDirections
The text field will grow to the right and bottom; no line-breaks will be added.
HORIZONTAL | Constant |
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!
NONE | Constant |
public static const NONE:String = none
No auto-sizing will happen.
VERTICAL | Constant |
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.