Difference between revisions of "TextField:setLetterSpacing"

From GiderosMobile
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/TextField|TextField]]<br/>
+
'''Class:''' [[TextField]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
Sets the letter-spacing property which is used to increase or decrease the space between characters in a text.<br />
+
Sets the letter-spacing property which is used to increase or decrease the space between characters in a text.
<br /></translate>
+
<syntaxhighlight lang="lua">
<source lang="lua">
+
TextField:setLetterSpacing(spacing)
TextField:setLetterSpacing(spacing)
+
</syntaxhighlight>
</source>
+
 
=== <translate>Parameters</translate> ===
+
=== Parameters ===
'''spacing''': (number) <translate></translate> <br/>
+
'''spacing''': (number) letter spacing in pixels<br/>
 +
 
 +
{{TextField}}

Latest revision as of 08:13, 18 October 2024

Available since: Gideros 2011.6
Class: TextField

Description

Sets the letter-spacing property which is used to increase or decrease the space between characters in a text.

TextField:setLetterSpacing(spacing)

Parameters

spacing: (number) letter spacing in pixels