TextField:setSample: Difference between revisions

From GiderosMobile
m Text replacement - "</source>" to "</syntaxhighlight>"
No edit summary
 
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.
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
TextField:setSample(sample)
TextField:setSample(sample)
</syntaxhighlight>
</syntaxhighlight>
=== <translate>Parameters</translate> ===
 
'''sample''': (string) <translate>string to use as sample</translate> <br/>
=== Parameters ===
'''sample''': (string) string to use as sample<br/>


{{TextField}}
{{TextField}}

Latest revision as of 07:15, 18 October 2024