Difference between revisions of "TextField:setSample"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2016.08<br/>
 
'''Available since:''' Gideros 2016.08<br/>
 
=== Description ===
 
=== Description ===
Set string that will be used as sample for determining text's line height
+
<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 ===
 
=== Parameters ===
'''sample''': (string) string to use as sample <br/>
+
'''sample''': (string) <translate>string to use as sample</translate> <br/>

Revision as of 13:32, 23 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