PyQt5 - How to slow down QScrollArea speed and make it smoother?
-
Following some tutorial i've made a ScrolLabel to display large text, i added some stylesheet and it looks great, but when i scroll it's too fast, and i would like to make it smoother.
So i would like to make the scroll in aQScrollAreasmoother. -
Hi,
You can fiddle with the single and page step properties of the scrollbars.
-
@SGaist I can't find how to access to the scrollbar of
QScrollArea. Any idea? -
@SGaist I can't find how to access to the scrollbar of
QScrollArea. Any idea?@Patitotective Use
hscrollbar = scrollarea.horizontalScrollBar()andvscrollbar = scrollarea.verticalScrollBar() -
If anyone is interested in a scrollable label, see: scrollable_label.py.