Make Resize Handle width 0 for QDockWidget
Solved
General and Desktop
-
Hi,
I like the QDockWidget and it fits my needs (near) perfectly, but is there any way to get rid of the separator/bar that is used to resize the dockwidget? I want to set the resize handle to 0 width, but still keep its functionality, is this possible?
Thanks in advance!
-
You can set a stylesheet in your mainwindow.cpp
setStyleSheet("QMainWindow::separator { width: 0; height: 0; }");
However I would not do it, because then you cannot resize the dock anymore
1/2