Is there a way to reduce the distance at which the QDockWidget tries to dock?

It seems that it tries to stick to the outside or top when it is further away from this location than I would like. Can the active area be reduced?

Is this controlled by the centralWidget margins?

Regards
Robbie