Because dock widgets are controlled by QMainWindow's layout. If you place a dock widget as a regular widget using the Designer, there is no layout to control it (even if you place it inside a QMainWindow).
What is the exact question regarding this one?Regarding the dock widget in the software I'm developing, as opposed to the Designer question, the dock widget is in the main window, not inside another widget. I actually am embedding an SoQtRenderArea inside the dock widget.
Bookmarks