When Using setTitleBarWidget to remove native titlebar makes the box shadow of the QDockWidget disappear. How to keep shadow effect? (PySide6 version 6.3.1)
Asked
Active
Viewed 65 times
1
-
That's the expected behavior, as explained in the [documentation](https://doc.qt.io/qt-6/qdockwidget.html#setTitleBarWidget): "If a title bar widget is set, QDockWidget will not use native window decorations when it is floated." – musicamante Oct 01 '22 at 18:29