[Qt-interest] Trouble docking widget to bottom of QMainWindow

Michael Jackson mike.jackson at bluequartz.net
Mon Mar 28 18:42:51 CEST 2011


Are there any suggestions or "Best Practices" as far as making it easy for a
Dockable widget to dock in the bottom area of a QMainWindow? I have all the
flags set and the dock widget will eventually dock but takes a lot of
patience to get things just right where as the same QDockWidget will easily
dock on the left or right sides of the QMainWindow or even nested in with
some of the other QDockWidgets that are in my QMainWindow. Does increasing
the margins or layout spacing help increase the chances that a Dock Widget
will be able to dock?

Thanks for any help or pointers
Mike Jackson




More information about the Qt-interest-old mailing list