Difference between revisions of "TextField:setSample"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(One intermediate revision by one other user 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.
 
<syntaxhighlight 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}}
 
{{TextField}}

Latest revision as of 08:15, 18 October 2024