<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/CustomLabel:setAlign?action=history&amp;feed=atom</id>
	<title>CustomLabel:setAlign - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/CustomLabel:setAlign?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomLabel:setAlign&amp;action=history"/>
	<updated>2026-10-30T09:07:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.1</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomLabel:setAlign&amp;diff=57075&amp;oldid=prev</id>
		<title>AriosJentu: Created page with &quot;__NOTOC__ {{Client function}} This function sets for Custom Label both aligns in one function.  == Syntax == &lt;syntaxhighlight lang=&quot;lua&quot;&gt; nil CustomLabel:setAlign([string Vert...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomLabel:setAlign&amp;diff=57075&amp;oldid=prev"/>
		<updated>2018-07-27T11:21:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ {{Client function}} This function sets for Custom Label both aligns in one function.  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; nil CustomLabel:setAlign([string Vert...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function sets for Custom Label both aligns in one function.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
nil CustomLabel:setAlign([string VertAlign, string HorizAlign])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other Arguments === &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;VertAlign&amp;#039;&amp;#039;&amp;#039; - Vertical Align. Can be &amp;#039;&amp;#039;top&amp;#039;&amp;#039;, &amp;#039;&amp;#039;center&amp;#039;&amp;#039; or &amp;#039;&amp;#039;bottom&amp;#039;&amp;#039;. Default - &amp;#039;&amp;#039;top&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;HorizAlign&amp;#039;&amp;#039;&amp;#039; - Horizontal Align. Can be &amp;#039;&amp;#039;left&amp;#039;&amp;#039;, &amp;#039;&amp;#039;center&amp;#039;&amp;#039; or &amp;#039;&amp;#039;right&amp;#039;&amp;#039;. Default - &amp;#039;&amp;#039;left&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This example creates label with centered align:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local Window = CustomWindow.create(50, 50, 150, 115, &amp;quot;Example&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
local Label = CustomLabel.create(5, 25, 140, 25, &amp;quot;Custom Label&amp;quot;, false, Window)&lt;br /&gt;
&lt;br /&gt;
Label:setAlign(&amp;quot;center&amp;quot;, &amp;quot;center&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>AriosJentu</name></author>
	</entry>
</feed>