Is it possible to somehow draw the shadow of the container ignoring the parent\'s constraints? margin is not suitable because this increases the spacing between widgets.