Difference between revisions of "TextField:setSample"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Set string that will be used as sample for determining text's line height</translate>
 
<translate>Set string that will be used as sample for determining text's line height</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
  TextField:setSample(sample)
 
  TextField:setSample(sample)
 
</source>
 
</source>

Revision as of 14:31, 13 July 2023


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