Frage

Is there a way to reduce the scroll speed on a QScrollArea? When I scroll by the mouse wheel, it jumps passed the content. So yeah is there a way to adjust it?

War es hilfreich?

Lösung

You can set singleStep (in pixels) of area's scroll bars:

ui->scrollArea->verticalScrollBar()->setSingleStep(2);
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top