setLayoutEnabled

Allows disabling the layout of children. All children are removed if layout is disabled

Parameters

enabled

true to enable layout, false otherwise.