The scroll speed was really slow on my template repeater. After a bit of searching through the Ignition Forums, I found some helpful posts and comments that led me to implement the code shown below when the template repeater is loaded.
My issue is that I can only use the mouse-wheel to scroll vertically when the mouse-pointer where the scroll-bar is located. I would like to be able to scroll when the mouse is inside anywhere in the template repeater (the green box in my image). How do I make that happen?
if (event.source == "componentRunning"): from javax.swing import SwingUtilities from javax.swing import JScrollPane scrollPane = SwingUtilities.getAncestorOfClass(JScrollPane, event.source.getComponents().getComponents()) scrollPane.getVerticalScrollBar().setUnitIncrement(50)