make Layout subclass from Component