PDA

View Full Version : Header Width of QDockWidget in Qt4.3.3?



vishal.chauhan
8th February 2008, 05:24
Hi All,

I am working on Qt 4.3.3 on my Mac.

Earlier I was working in Qt 4.2.2 an have a QDockWidget and now I have compiled my code with Qt 4.3.3 but I got a problem.

The Header width of QDockWidget in Qt 4.3.3 is far more than in Qt 4.2.2.
So if any body knows how Can I set its width according to my need (that of Qt 4.2.2) than plz help me.

Thanks..

marcel
8th February 2008, 10:11
It seems to me that in 4.3.3 the two buttons have a larger size than in 4.2.2, hence the bigger height.

Maybe you can create a custom title bar widget, with a smaller height, and set it with QDockWidget::setTitleBarWidget().