[Interest] Resizing side by side nested dock widgets?

Elvis Stansvik elvstone at gmail.com
Tue Aug 30 09:15:36 CEST 2016


Hi all,

When using nested dock widgets, and two dock widgets are placed side
by side in the same dock area, is it possible to allow resizing of the
outer dock widget (the one adjacent to the window edge) and have the
other one "move" towards the center of the window to give room for the
resize to happen?

Consider the attached screenshot of the
examples/widgets/mainwindows/mainwindow where I've enabled nested dock
widgets through "Main window -> Allow nested docks" and placed the
black and red dock side by side in the left dock area. When grabbing
the handle between the black and red and black dock and moving it
leftward, I'd like the red dock widget to move (without being resized)
towards the center of the window.

At the moment it's impossible to move this handle unless I first grab
the handle facing the central widget, to resize the dock area as a
whole. And when I then try the handle between the two docks, it will
move the divider between the widget independantly, not move the red
dock widget.

I understand the current behavior, but is there an easy way to get the
behavior I want?

If it's not easy, but possible, does anyone know of an application
which has beated the dock widgets into behaving like this?

Many thanks in advance,
Elvis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mainwindow-example-side-by-side.png
Type: image/png
Size: 92585 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160830/b97edca4/attachment.png>


More information about the Interest mailing list