mirror of
https://github.com/godotengine/godot.git
synced 2025-10-29 20:51:14 +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
|
|
@ -225,16 +225,16 @@ TextureLayeredEditor::TextureLayeredEditor() {
|
|||
layer->set_step(1);
|
||||
layer->set_max(100);
|
||||
add_child(layer);
|
||||
layer->set_anchor(MARGIN_RIGHT, 1);
|
||||
layer->set_anchor(MARGIN_LEFT, 1);
|
||||
layer->set_anchor(SIDE_RIGHT, 1);
|
||||
layer->set_anchor(SIDE_LEFT, 1);
|
||||
layer->set_h_grow_direction(GROW_DIRECTION_BEGIN);
|
||||
layer->set_modulate(Color(1, 1, 1, 0.8));
|
||||
info = memnew(Label);
|
||||
add_child(info);
|
||||
info->set_anchor(MARGIN_RIGHT, 1);
|
||||
info->set_anchor(MARGIN_LEFT, 1);
|
||||
info->set_anchor(MARGIN_BOTTOM, 1);
|
||||
info->set_anchor(MARGIN_TOP, 1);
|
||||
info->set_anchor(SIDE_RIGHT, 1);
|
||||
info->set_anchor(SIDE_LEFT, 1);
|
||||
info->set_anchor(SIDE_BOTTOM, 1);
|
||||
info->set_anchor(SIDE_TOP, 1);
|
||||
info->set_h_grow_direction(GROW_DIRECTION_BEGIN);
|
||||
info->set_v_grow_direction(GROW_DIRECTION_BEGIN);
|
||||
info->add_theme_color_override("font_color", Color(1, 1, 1, 1));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue