<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/CustomScrollBar:setScrollLength?action=history&amp;feed=atom</id>
	<title>CustomScrollBar:setScrollLength - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/CustomScrollBar:setScrollLength?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomScrollBar:setScrollLength&amp;action=history"/>
	<updated>2026-04-07T15:53:20Z</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=CustomScrollBar:setScrollLength&amp;diff=56883&amp;oldid=prev</id>
		<title>AriosJentu: Created page with &quot;__NOTOC__ {{Client function}} This function sets for Custom Scroll Bar length of scroller element (in pixels).  == Syntax == &lt;syntaxhighlight lang=&quot;lua&quot;&gt; nil CustomScrollBar:s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomScrollBar:setScrollLength&amp;diff=56883&amp;oldid=prev"/>
		<updated>2018-07-24T14:41:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ {{Client function}} This function sets for Custom Scroll Bar length of scroller element (in pixels).  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; nil CustomScrollBar:s...&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 Scroll Bar length of scroller element (in pixels).&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 CustomScrollBar:setScrollLength(float Length)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*'''Length''' - Length of scroller element (in pixels)&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
[[Image:SetScrollLengthExample.png|thumb|right|Code Example]]&lt;br /&gt;
This example creates window with 2 Scroll Bars with different scroller length:&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, 100, 65, &amp;quot;Example&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
local ScrollBarShort = CustomScrollBar.create(5, 25, 90, 15, false, Window)&lt;br /&gt;
local ScrollBarLong = CustomScrollBar.create(5, 45, 90, 15, false, Window)&lt;br /&gt;
&lt;br /&gt;
ScrollBarShort:setScrollLength(20)&lt;br /&gt;
ScrollBarLong:setScrollLength(60)&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>