Unsolved How can I get the scrollbar value of one widget in a scrollarea
-
I want to make when I click a widget in the Scrollarea ,the view will be moved ( set the scrollbar value) so that the widget will be as high as possible above the view.
So now how to get the value of scrollbar corresponding to the widget. -
Hi
Did you try to fool around with
https://doc.qt.io/qt-5/qscrollarea.html#ensureWidgetVisible
and the margin to see if that can be used ?