# Setting width of Scrollbar component

**URL:** <https://forum.kirupa.com/t/setting-width-of-scrollbar-component/22572>\
**Category:** flash\
**Created:** [June 5, 2003, 5:14pm UTC](https://forum.kirupa.com/t/setting-width-of-scrollbar-component/22572 "2003-06-05T17:14:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 5, 2003, 5:14pm UTC](https://forum.kirupa.com/t/setting-width-of-scrollbar-component/22572/1 "2003-06-05T17:14:50Z")

</div>

Why can I not set the width of my scrollbar componeent to be smaller? Does anyone know how to do this? And no, you can’t go into properties. SO far the only way I have figured this out is to actually go into the scrolbar component and make things smaller. but there has to be an easier way

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 5, 2003, 6:13pm UTC](https://forum.kirupa.com/t/setting-width-of-scrollbar-component/22572/2 "2003-06-05T18:13:20Z")

</div>

👽  
Hmm, you could change the \_xscale of it:

//on Scrollbar Component, no need for an instance name this way  
onClipEvent(load){  
\_xscale=50;  
}

Anyway, sounds like what you want.

Later,  
–Elios

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 5, 2003, 6:23pm UTC](https://forum.kirupa.com/t/setting-width-of-scrollbar-component/22572/3 "2003-06-05T18:23:13Z")

</div>

ok that was good, thanks, but it doesn’t really look right, becasue I wanted the scrollbar to be pretty thin, and what happens is it kinda looks distorted on the top where the arrows are.

Thank you though, very clever, I couldn’t figure it out for the life of me.
