object.align

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