# Resizing TemplateRepeater Scrollbars?

**URL:** <https://forum.inductiveautomation.com/t/resizing-templaterepeater-scrollbars/15737>\
**Category:** Ignition\
**Created:** [October 21, 2017, 12:52am UTC](https://forum.inductiveautomation.com/t/resizing-templaterepeater-scrollbars/15737 "2017-10-21T00:52:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmisztur2](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmisztur2/32/4243_2.png) [@cmisztur2](https://forum.inductiveautomation.com/u/cmisztur2)\
**Post date:** [October 21, 2017, 12:52am UTC](https://forum.inductiveautomation.com/t/resizing-templaterepeater-scrollbars/15737/1 "2017-10-21T00:52:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![cmisztur2](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmisztur2/32/4243_2.png) [@cmisztur2](https://forum.inductiveautomation.com/u/cmisztur2)\
**Post date:** [October 21, 2017, 1:24am UTC](https://forum.inductiveautomation.com/t/resizing-templaterepeater-scrollbars/15737/2 "2017-10-21T01:24:32Z")

</div>

Got it.

```auto
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))

```
