PDA

View Full Version : QDockWindow resizing according to QMainWindow size



shanchathuranga
7th August 2012, 12:07
Hi,

I have a MainWindow (subclass of QMainWindow) and it has a bottom QDockWindow. My problem is, when i decrease the MainWindow height manually, it first decreases central widget's height and when it reachs the minimum height of the central widget then it should start to decrease the bottom QDockWindow height (usually my bottom dockwindow has the larger height than its minimum height. so it can shrink). But it doesn't. why ? how can i fix that ? thanks.

high_flyer
9th August 2012, 12:38
What is the size policy and min/max sizes of your dock window?