mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
Rename Control margin to offset
This commit is contained in:
parent
30d469a5e0
commit
4b8b803931
106 changed files with 1278 additions and 1278 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue