object.align

Type String
Object TextField
Library native.*
Revision Current Public Release (2017.3068)
Keywords native text input

Overview

Alignment of text displayed in the input text field. May be set to one of the following strings:

Example

local nameField = native.newTextField( 50, 150, 220, 36 )
nameField.align = "center"