Difference between revisions of "TextField:setSample"

From GiderosMobile
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2016.08<br/>
 
'''Available since:''' Gideros 2016.08<br/>
 +
'''Class:''' [[TextField]]<br/>
 +
 
=== Description ===
 
=== Description ===
Set string that will be used as sample for determining text's line height
+
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>
'''sample''': (string) string to use as sample ''''''<br/>
+
 
 +
=== Parameters ===
 +
'''sample''': (string) string to use as sample<br/>
 +
 
 +
{{TextField}}

Latest revision as of 08:15, 18 October 2024