Difference between revisions of "TextField:setSample"

From GiderosMobile
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2016.08<br/>
+
'''Available since:''' Gideros 2016.08<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[TextField]]<br/>
<translate>Set string that will be used as sample for determining text's line height</translate>
+
 
<source lang="lua">
+
=== Description ===
TextField:setSample(sample)
+
Sets the String that will be used as sample for determining the text line height.
</source>
+
<syntaxhighlight lang="lua">
=== <translate>Parameters</translate> ===
+
TextField:setSample(sample)
'''sample''': (string) <translate>string to use as sample</translate> <br/>
+
</syntaxhighlight>
 +
 
 +
=== Parameters ===
 +
'''sample''': (string) string to use as sample<br/>
 +
 
 +
{{TextField}}

Latest revision as of 08:15, 18 October 2024