PDA

View Full Version : Handle DockWidgets



jwintz
30th May 2006, 12:03
Hi,

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 !

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

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