PDA

View Full Version : Resizing QDockWidget on Show



doggrant
5th August 2009, 16:40
Hi,

I've got an application which has A QDockedWidget going right along the bottom of the main window, and one QDockedWidget going down the left-hand side (Not right to the bottom of the window, because the space is taken up by the qdockedwidget running right along the bottom of the window).

If I do the following :-

1 - Hide() the QDockedWidget going down the left hand side.
2 - Hide() the QDockedWidget going along the bottom.

The central widget expands to fill the space avaiable.

3 - Show() the QDockedWidget going down the left-hand side.

The Docked widget reappears, but is the same size as it was when it was hidden. What I want to happen, is for it to epand to take up the full length of the left hand size (including the space left by the docked widget hidden at the bottom).

anyone have any ideas about this?

David

doggrant
10th August 2009, 13:58
This issue was a bug in QT. I upgraded to QT4.5.2, and the issue was resolved :)