How to change the scroll distance of the arrow QPushButton in a QScrollbar?

57 Views Asked by At

How can I change the distance scrolled when I click on the QPushButton on a scrollbar?

screenshot of the GUI with a scrollbar on the right and the bottom arrow-down / scroll-down button marked

It goes 1 by 1 and I would like to change it to 5 by 5 for example. I already tried setPageStep and setSingleStep but they didn't work.

0

There are 0 best solutions below