Resizing TemplateRepeater Scrollbars?

I looked at the forum but none of the solutions work to resize the repeater’s scrollbars.
I have touch mode enabled in the project and big scrollbars but need regular size bars inside a specific window.

Got it.

def setRepeaterVerticalScrollBarWidth(repeater,width=20):
	from com.jidesoft.swing import JideScrollPane
	from java.awt import Dimension
	for c in repeater.getComponents():
		if isinstance(c,JideScrollPane):
			c.getVerticalScrollBar().setPreferredSize(Dimension(width,0))
			
def setRepeaterHorizontalScrollBarHeight(repeater,height=20):
	from com.jidesoft.swing import JideScrollPane
	from java.awt import Dimension
	for c in repeater.getComponents():
		if isinstance(c,JideScrollPane):
			c.getHorizontalScrollBar().setPreferredSize(Dimension(0,height))
1 Like