Unsolved Is it possible to control the height and width of a QDockWidget embedded in the MainWindow?
-
Is it possible to control the height and width of a QDockWidget embedded in the MainWindow?
-
Hi
You can use
dockw->setFixedSize(400, 400);
to have them stay same size.
You can also set minimum/max. -
Or you can use resizeDocks() method to size them dynamically.
-
The embedded QDockWidget is resized because the spliter of mainwindow moves. Is it possible to trigger the movement of the horizontal spliter when I move the vertical spliter (to maintain a certain aspect ratio)?