Rename Control margin to offset
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user