JMicky
October 7, 2014, 7:54pm
1
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.
As you can see the drop down arrow is very large but slider is narrow.
Thank you in advance,
John
Try this:
from java.awt import Dimension
new_width = 75
table = event.source.parent.getComponent('Table')
table.getVerticalScrollBar().setPreferredSize( Dimension(new_width, 0) )
table.doLayout()
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.
JMicky
October 8, 2014, 9:37pm
4
Sweet! Thank you. It works for event the fattest finger now!
JMicky
December 29, 2015, 2:35pm
5
With V7.8.0 you can now configure the touch screen scroll bar width in the project properties.