set padding in edit mode