object.align

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