As you can see I have a QScrollArea with several groupBoxes in it. Those groupboxes may or may not appear at a given time.

What do I need:
-QscrollArea fit the parent tab widget page.
-QscrollArea has a scroll bar when needed.
-All the groupboxes are piled on the top.


Whod do I have:

ScrollArea:
-vertical layout
-vertical policy maximum (or expanding)
-aligment top

GroupBoxes:
-fixed max height
-align top


can you help me please?