Attach the this to the master
and delete the reference to the master that the layout
attached previously.
Instead of setting master
directly with the master object, it is possible to use a
DockObject, in this case the layout will be attached to the same master than the dock
object.
this |
The layout object |
master |
The master object to which the layout will be attached |