I've created a dock widget which contains a QTreeView. The size of the tree view remains static when the dock is resized. How can I get it to change it's size automatically to fill the dock area?
I've created the dock widget using the designer and use multiple inheritance to include it in the main app.
Inherited class:
class TreePaneWid : public QDockWidget, protected Ui_TreePaneWid{
public:
TreePaneWid(){
setupUi(this);
show();
}
};