control-based layout