Hello all.

I've got a problem with a qscrollarea not resizing properly.
I have the qscrollarea in a outer widget and another widget inside the qscrollarea. It is a custom widget that implements sizeHint() and minimumSizeHint().

I want the inner widget to always take up min. 100% of the visible space of the qscrollarea and the scrollarea to take up as much space of the outer widget as possible.

What does not work is when the inner widget resizes (gets smaller) the qscrollarea won't adjust (shrink). It stays the same size and show it's backgound... I tried using "scrollarea->resize(innerwidget->sizeHint())", but that didn't change much...

...hope you have some ideas...