Pergunta

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?

Foi útil?

Solução

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

ui->scrollArea->verticalScrollBar()->setSingleStep(2);
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top