Smoother slider movement in scrollbar pyqt

46 Views Asked by At

In my code, when one button is clicked, the slider (it is in QScrollArea) is automatically shifted with setSliderPosition(new position). But it happens very quickly and it makes your eyes uncomfortable. How can I animate movement or make it with QTimer? Thank you for the answers.

0

There are 0 best solutions below