Qt 5.7 QDockWidget default size
问题 I am trying to have following setup: at start (when main window is opened) I want to have 2 QDockWidgets at left with width 400px and height 1/2 (each) of QMainWindows height. At the left, 3 QDockWidgets with width 400px and height 1/3 (each) of QMainWindows height. All of 5 widgets have to be resizable . That means using setFixSize() won't work in this case. So far I've tried changing Geometry>Width and Gemetry>Height in designed -> didn't work. Then I tried using resize() in main window