Hello,

I wonder if it is possible to change the main layout direction of a dockwidget from vertical to horizontal if the DockArea is changed from left/right to top/bottom or visa versa.

How can that been done in a simple way?

I would think that using a QBoxLayout and QBoxLayout::setDirection would do the trick but my widget is created with the Designer that explicitly uses a Vertical or Horizontal layout.

Regards,

Marcel