Quote Originally Posted by masoroso
I have a dockwidget, a layout and a frame on the form. I first dropped the layout on the form (QHboxLayout) and then dropped the frame on it. The dockwidget is placed left of the other widgets and the dockwindow is not part of the layout.
If I got you right, you haven't set any layout for the frameMain frame, only for its parent.

BTW. Layouts listed in the "Widget Box" are not pure layouts, but rather widgets with a given layout. Better use "Lay Out ..." actions from the Form menu/toolbar.