Difference between revisions of "TextField:setSample"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2016.08<br/>
+
'''<translate>Available since</translate>:''' Gideros 2016.08<br/>
=== Description ===
+
=== <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">
 
<source lang="lua">
 
  TextField:setSample(sample)
 
  TextField:setSample(sample)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''sample''': (string) <translate>string to use as sample</translate> <br/>
 
'''sample''': (string) <translate>string to use as sample</translate> <br/>

Revision as of 07:29, 24 August 2018

Available since: Gideros 2016.08

Description

Set string that will be used as sample for determining text's line height

 TextField:setSample(sample)

Parameters

sample: (string) string to use as sample