TextField:setSample

From GiderosMobile
Revision as of 15:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


Available since: Gideros 2016.08
Class: TextField

Description

Set string that will be used as sample for determining text's line height <syntaxhighlight lang="lua">

TextField:setSample(sample)

</source>

Parameters

sample: (string) string to use as sample