Difference between revisions of "TextField:setSample"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.08<br/> === Description === Set string that will be used as sample for determining text's line height <source lang="lua"> = TextF...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2016.08<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' Gideros 2016.08<br/>
Set string that will be used as sample for determining text's line height
+
'''<translate>Class</translate>:''' [[Special:MyLanguage/TextField|TextField]]<br/>
<source lang="lua">
+
=== <translate>Description</translate> ===
= TextField:setSample(sample,)
+
<translate>Set string that will be used as sample for determining text's line height</translate>
</source>
+
<syntaxhighlight lang="lua">
'''sample:''' (string) string to use as sample ''''''<br/>
+
TextField:setSample(sample)
 +
</syntaxhighlight>
 +
=== <translate>Parameters</translate> ===
 +
'''sample''': (string) <translate>string to use as sample</translate> <br/>
 +
 
 +
{{TextField}}

Latest revision as of 15:33, 13 July 2023