You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE)
This commit is contained in:
committed by
Gilles Roudiere
parent
92f062696a
commit
05bb8e0c10
@@ -1426,7 +1426,7 @@ AnimationPlayerEditorPlugin::AnimationPlayerEditorPlugin(EditorNode *p_node) {
|
||||
editor->add_bottom_panel_item(TTR("Animation"), anim_editor);
|
||||
/*
|
||||
editor->get_viewport()->add_child(anim_editor);
|
||||
anim_editor->set_area_as_parent_rect();
|
||||
anim_editor->set_anchors_and_margins_preset(Control::PRESET_WIDE);
|
||||
anim_editor->set_anchor( MARGIN_TOP, Control::ANCHOR_END);
|
||||
anim_editor->set_margin( MARGIN_TOP, 75 );
|
||||
anim_editor->set_anchor( MARGIN_RIGHT, Control::ANCHOR_END);
|
||||
|
||||
Reference in New Issue
Block a user