PDA

View Full Version : unwanted QDockWidget resizing after QMainWindow::tabify()



alpinista
12th January 2011, 06:56
Hi all.
In may app. I have two dockable panels derived from QDockWidget. When the application starts, I want both of them to be docked in the right docking area, tabified and keeping ther minimum width. But when I call QMainWindow::tabify() on them (during initialization), they are always resized to their maximum width, and that's the problem.
Does somebody know, how to prevent from this behavior?
Thanks a lot.