The TextFieldAutoSize class is an enumeration of constant values used in setting the `autoSize` property of the TextField class.

## Index

### Enumeration members

- CENTER
- LEFT
- NONE
- RIGHT

## Enumeration members

### CENTER

CENTER: = "center"

- Defined in lib/openfl/text/TextFieldAutoSize.d.ts:14

Specifies that the text is to be treated as center-justified text. Any resizing of a single line of a text field is equally distributed to both the right and left sides.

### LEFT

LEFT: = "left"

- Defined in lib/openfl/text/TextFieldAutoSize.d.ts:21

Specifies that the text is to be treated as left-justified text, meaning that the left side of the text field remains fixed and any resizing of a single line is on the right side.

### NONE

NONE: = "none"

- Defined in lib/openfl/text/TextFieldAutoSize.d.ts:26

Specifies that no resizing is to occur.

### RIGHT

RIGHT: = "right"

- Defined in lib/openfl/text/TextFieldAutoSize.d.ts:33

Specifies that the text is to be treated as right-justified text, meaning that the right side of the text field remains fixed and any resizing of a single line is on the left side.

Generated using TypeDoc