object.align

Type String
Object TextBox
Library native.*
Revision 2017.3060
Keywords native text input

Overview

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

Example

local inputBox = native.newTextBox( 160, 240, 280, 140 )
inputBox.align = "center"