public override EditorGUIElementPlan PlanContentsInternal(EditorGUIElementPlan plan, EditorGUILayoutState state) { if (HasLabel()) { plan.SplitAtBottomOffset(label_height, out label_plan, out plan); } return(plan.Shrink(indent_width, 0.0f, 0.0f, 0.0f)); }
public override EditorGUIElementPlan PlanContentsInternal(EditorGUIElementPlan plan, EditorGUILayoutState state) { return(plan.Shrink(left, right, bottom, top)); }