PDA

View Full Version : QDockArea size hint



ksierens
4th April 2006, 17:45
I am using Qt 3.3 and would like the dock area to control the size of the QDockWindows that are placed in it, not have the dock window resize the dockarea. Does anyone know if this is possible?

wysota
4th April 2006, 19:42
You should be able to do it by putting constrains on sizes of those dock windows.

ksierens
5th April 2006, 15:37
The strange part is that if I resize the dock area with the mouse, even slightly, the dock windows will not change the size of the dock area.

Is there a way to progmatically set the initial size of the dock area in the same way?

I tried to set the maximum size for the dockarea (right), but when the central widget is resized, the widgets in the dock area are set to my maximum size I set, but the dock areas position does not respect this width. (as shown in the attached image)

http://www.qtcentre.org/forum/attachment.php?attachmentid=294&stc=1&d=1144247744