Table of Contents

TextField:setLayout

Available since version: Gideros 2017.10

Description:

Change the layout parameters for this TextField
Layout parameters can contain the following fields:
- w,h: Width/height of the area to layout the text in
- flags: A or combination of FontBase.TLF_xxx constants instructing how to layout the text
- letterSpacing: The space to add between each letter of the text
- lineSpacing: The space to add between each line of the text
- tabSpace: The size of a tab in space characters increment, default to 4 if unspecified

Syntax:

TextField:setLayout(layout)

Parameters:

  • layout: (table) Layout parameters