PDA

View Full Version : SizePolicy Help



NIteLordz
6th March 2015, 17:22
I am trying to layout a DockWidget in the following manner

-QFrame (Max Height of 60px)
-QWidget (Max Height of 100px)
-QToolBox (Variable height depending on the current page that is being viewed)

however, when i do it, the QToolBox takes up all the space at the bottom, even though the individual pages only have one or two line edits in them. So what i would like is to have the QToolBox only show the necessary space.

How should my size policies be set

anda_skoa
7th March 2015, 09:35
Neither QFrame nor QWidget have pages, your decription is missing some important part.

Cheers,
_