View Full Version : Handle DockWidgets

30th May 2006, 13:03

I have an application with many docks. On linux, I add them in the BottomWidgetArea for example and when I run the application, their respective width is computed so that they all look the same.

On MacOSX, their width is not automatically computed. The first one is huge whereas the following ones are tiny.

Is their a way to handle this in the code ? I didn't find any so far ... Thanks !

2nd June 2006, 12:20
You could put constrains on the layout, for example with QLayout::setSizeConstraint.

8th June 2006, 16:55
It doesn't work, maybe this will be fixed in the next version of qt-mac since it works perfectly on x11 ...