Rename Control margin to offset
This commit is contained in:
@ -825,10 +825,10 @@ void RendererCanvasCull::canvas_item_add_nine_patch(RID p_item, const Rect2 &p_r
|
||||
style->source = p_source;
|
||||
style->draw_center = p_draw_center;
|
||||
style->color = p_modulate;
|
||||
style->margin[MARGIN_LEFT] = p_topleft.x;
|
||||
style->margin[MARGIN_TOP] = p_topleft.y;
|
||||
style->margin[MARGIN_RIGHT] = p_bottomright.x;
|
||||
style->margin[MARGIN_BOTTOM] = p_bottomright.y;
|
||||
style->margin[SIDE_LEFT] = p_topleft.x;
|
||||
style->margin[SIDE_TOP] = p_topleft.y;
|
||||
style->margin[SIDE_RIGHT] = p_bottomright.x;
|
||||
style->margin[SIDE_BOTTOM] = p_bottomright.y;
|
||||
style->axis_x = p_x_axis_mode;
|
||||
style->axis_y = p_y_axis_mode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user