Hello,

using the scrollbars of a QScrollArea resets the geometry().x and geometry().y of its child-widget to 0.

Ie.:

Qt Code:
  1. QWidget scrollable = new QWidget();
  2. QScrollArea scroller = new QScrollArea();
  3. scroller->setWidget(scrollable);
  4. scrollable->setGeometry(10,10,100,100);
  5. // scroll and scrollable->geometry().x(),y() is 0,0.
To copy to clipboard, switch view to plain text mode 

Can I have QScrollArea not do this? How? Is there a callback or event listener I could add?

Thanks!

Lars