I am creating a custom QScrollBar on top of the QScrollArea. I did scroll_bar->setParent(acroll_area) and now the ScrollBar::painEvent is painted on the QScrollArea, only problem is that it is painted on the left side. How do I get it to paint on the right side.
I am creating a custom QScrollBar on top of the QScrollArea. I did scroll_bar->setParent(acroll_area)
Share
RA was correct, I called setGeometry and it worked fine 🙂 (if you want to write your own answer, ill accept it)