<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/CustomWindow:setSideBarLength?action=history&amp;feed=atom</id>
	<title>CustomWindow:setSideBarLength - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/CustomWindow:setSideBarLength?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomWindow:setSideBarLength&amp;action=history"/>
	<updated>2026-04-08T17:26:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomWindow:setSideBarLength&amp;diff=58034&amp;oldid=prev</id>
		<title>AriosJentu: Created page with &quot;__NOTOC__ {{Client function}} This function sets Custom Window's side panel's length.  == Syntax == &lt;syntaxhighlight lang=&quot;lua&quot;&gt; nil CustomWindow:setSideBarLength(int Lenght)...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomWindow:setSideBarLength&amp;diff=58034&amp;oldid=prev"/>
		<updated>2018-08-14T06:49:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ {{Client function}} This function sets Custom Window&amp;#039;s side panel&amp;#039;s length.  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; nil CustomWindow:setSideBarLength(int Lenght)...&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 Custom Window's side panel's length.&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 CustomWindow:setSideBarLength(int Lenght)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments === &lt;br /&gt;
*'''Length'''  - Size in pixels of side bar.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
[[Image:CustomWindowSideBar.png|thumb|right|Code Example]]&lt;br /&gt;
This example creates two windows with Side Bars:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local WindowTop = CustomWindow.create(50, 50, 260, 100, &amp;quot;Example&amp;quot;)&lt;br /&gt;
local WindowLeft = CustomWindow.create(95, 155, 150, 100, &amp;quot;Hello World&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
WindowTop:setSideBarLength(40)&lt;br /&gt;
WindowTop:setSideBarPosition(&amp;quot;top&amp;quot;)&lt;br /&gt;
WindowLeft:showBar(&amp;quot;left&amp;quot;, 55)&lt;br /&gt;
&lt;br /&gt;
WindowTop:setColorScheme(Themes.Dark.Purple)&lt;br /&gt;
WindowLeft:setColorScheme(Themes.Light.Red)&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>