Allow the layout_constraints trait to be a callable or a list.