InlineComponent: fix handling of "required", make layout a variable (prepare for injection)