Minimum width and height not working on QDockWidget
Unsolved
General and Desktop
-
wrote on 30 Jan 2022, 09:36 last edited by Panoss
I have a QDockWidget
(QDockWidget *helpWindow;) helpWindow = new QDockWidget(tr("Help"));
I want to resize it, to set a minimum width and height.
I do it like this but it doesn't work:helpWindow->setMinimumWidth(700); helpWindow->setMinimumHeight(500);
How can I set it 's minimum width and height?
(I use QDockWidget for a help file, Maybe I should use some other widget? (if possible))
-
Hi,
If memory serves well, you should do that to the widget inside the QDockWidget.
1/2