mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +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
|
|
@ -1150,8 +1150,8 @@ SceneTreeEditor::SceneTreeEditor(bool p_label, bool p_can_rename, bool p_can_ope
|
|||
}
|
||||
|
||||
tree = memnew(Tree);
|
||||
tree->set_anchor(MARGIN_RIGHT, ANCHOR_END);
|
||||
tree->set_anchor(MARGIN_BOTTOM, ANCHOR_END);
|
||||
tree->set_anchor(SIDE_RIGHT, ANCHOR_END);
|
||||
tree->set_anchor(SIDE_BOTTOM, ANCHOR_END);
|
||||
tree->set_begin(Point2(0, p_label ? 18 : 0));
|
||||
tree->set_end(Point2(0, 0));
|
||||
tree->add_theme_constant_override("button_margin", 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue