Difference between revisions of "TextField:setSample"

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

Latest revision as of 08:15, 18 October 2024