How can one hide the scrollbars in a QScrollArea? Currently I use the hide() method on the scrollbars returned by QScrollArea::horizontalScro
QScrollArea
hide()
QScrollArea::horizontalScro
This piece of code can do the job:
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); verticalScrollBar()->hide(); verticalScrollBar()->resize(0, 0);