Edit widget type.