Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QDockWidget height size
jipe3001 last edited by
Hi every one,
I am trying to use a QDockWidget with a minimum height size but whenever inserting this
DockWidget the content is not fully visible however when I move the Dockwidget then the
content (some Comboxes and Qlabels) are fully visible.
How can I set a very smalll height for a DockWidget without loosing the content display?
dock1= new QDockWidget(); dock1->setMaximumHeight(45);
Thks for your help
As silly as it may sound: choose a better height. Or use the size hint of the widgets contained in the dock widget to set a sensible maximum size.
One thing that is not clear: you are writing about minimum size while setting the maximum height. Is there a typo somewhere ?