QDockWidget - Aero Snap When Floating (Windows)
-
Is it possible to have a floating
QDockWidget
aero-snap to the edge of the screen (on Windows)?
-
Hi and welcome to the forums
There not an options to just turn it on but it seems possible as this project can do it
https://github.com/deimos1877/BorderlessWindowBut i cant tell you what code to add to the Docks to make it happen. It will most likely
involve a bit of native API code.
-
@mrjj its strange that QDockWidget extends QWidget, and QWidgets are snappable to edges.... Perhaps there is a flag that can enable it hmhhh..
@QtMC were you able to solver your issue perhaps?