Difference between revisions of "TextField:setSample"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Set string that will be used as sample for determining text's line height</translate>
 
<translate>Set string that will be used as sample for determining text's line height</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
  TextField:setSample(sample)
 
  TextField:setSample(sample)
</source>
+
</syntaxhighlight>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''sample''': (string) <translate>string to use as sample</translate> <br/>
 
'''sample''': (string) <translate>string to use as sample</translate> <br/>
  
 
{{TextField}}
 
{{TextField}}

Latest revision as of 15:33, 13 July 2023