object.align

Type String
Object TextField
Library native.*
Revision 2017.3111
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"