Sets whether the layout should allow the user to resize the surface after it has been presented.
a toplevel layout
true to allow resizing