# DropDownList Vertical Slider Width

**URL:** <https://forum.inductiveautomation.com/t/dropdownlist-vertical-slider-width/9152>\
**Category:** General Discussion\
**Created:** [October 7, 2014, 7:54pm UTC](https://forum.inductiveautomation.com/t/dropdownlist-vertical-slider-width/9152 "2014-10-07T19:54:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JMicky](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@JMicky](https://forum.inductiveautomation.com/u/JMicky)\
**Post date:** [October 7, 2014, 7:54pm UTC](https://forum.inductiveautomation.com/t/dropdownlist-vertical-slider-width/9152/1 "2014-10-07T19:54:25Z")

</div>

Is there a method to increase the width of the vertical slider of a drop down list?  
I am using a touch screen and the narrow slider is difficult to use.  
Please see attached picture for reference.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/99c18e01228462d4e5de0150a0ab063462a483d9.PNG)  
  
As you can see the drop down arrow is very large but slider is narrow.

Thank you in advance,  
John

---

<div class="post-metadata">

**Author:** ![JGJohnson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jgjohnson/32/29582_2.png) [@JGJohnson](https://forum.inductiveautomation.com/u/JGJohnson)\
**Post date:** [October 7, 2014, 9:58pm UTC](https://forum.inductiveautomation.com/t/dropdownlist-vertical-slider-width/9152/2 "2014-10-07T21:58:49Z")

</div>

Try this:

```auto
from java.awt import Dimension
new_width = 75
table = event.source.parent.getComponent('Table')
table.getVerticalScrollBar().setPreferredSize( Dimension(new_width, 0) )
table.doLayout()
```

---

<div class="post-metadata">

**Author:** ![jim\_lapratt](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jim\_lapratt](https://forum.inductiveautomation.com/u/jim_lapratt)\
**Post date:** [October 7, 2014, 11:16pm UTC](https://forum.inductiveautomation.com/t/dropdownlist-vertical-slider-width/9152/3 "2014-10-07T23:16:45Z")

</div>

You can put this in a client event (start up) script:

[code]from javax.swing import UIManager

UIManager.put(“ScrollBar.width”, 40)[/code]

Play with number to get what you like.

---

<div class="post-metadata">

**Author:** ![JMicky](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@JMicky](https://forum.inductiveautomation.com/u/JMicky)\
**Post date:** [October 8, 2014, 9:37pm UTC](https://forum.inductiveautomation.com/t/dropdownlist-vertical-slider-width/9152/4 "2014-10-08T21:37:18Z")

</div>

Sweet! Thank you. It works for event the fattest finger now!

---

<div class="post-metadata">

**Author:** ![JMicky](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@JMicky](https://forum.inductiveautomation.com/u/JMicky)\
**Post date:** [December 29, 2015, 2:35pm UTC](https://forum.inductiveautomation.com/t/dropdownlist-vertical-slider-width/9152/5 "2015-12-29T14:35:53Z")

</div>

With V7.8.0 you can now configure the touch screen scroll bar width in the project properties.
