I have a QTreeView
widget placed inside a QDockWidget
:
I want to set the properties of the QTreeView
, that it automatically fills the whole available client drawing area (similar as WinForms DockFill property).
How can this be achieved with the QT-Designer?
Note: I've been playing around with the QTreeView
s sizePolicy properties. If these are set to Expanding (as is the default) the accepted answer works out out of the box.