Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Custom scroll bar for scroll area
I am trying to create a custom scroll bar for QScrollArea using stylesheets. The minimum width of the scroll bar needs to be 48px, it's getting created correctly, but its pushed all the way to the corner of the scroll area widget, displaying only part of the scroll bar. Any way to move the scroll bar inwards?
Any idea what is the subcontrol for the scroll bar in scroll area. I am wondering if there is a way to change the position of the scroll bar using the stylesheet.
DeeeZ last edited by
QSCrollArea is a QWidget isn't it ?
You are in the Qt Quick forum ... so perhaps you should ask in the correct forum to have more answers ?
No need to duplicate posts
I've moved it
By the way, can you share your style sheet ?