object.align

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