mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 11:14:17 +00:00
Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE)
This commit is contained in:
parent
92f062696a
commit
05bb8e0c10
32 changed files with 58 additions and 75 deletions
|
|
@ -1455,7 +1455,7 @@ ScriptTextEditor::ScriptTextEditor() {
|
|||
code_editor = memnew(CodeTextEditor);
|
||||
add_child(code_editor);
|
||||
code_editor->add_constant_override("separation", 0);
|
||||
code_editor->set_area_as_parent_rect();
|
||||
code_editor->set_anchors_and_margins_preset(Control::PRESET_WIDE);
|
||||
code_editor->connect("validate_script", this, "_validate_script");
|
||||
code_editor->connect("load_theme_settings", this, "_load_theme_settings");
|
||||
code_editor->set_code_complete_func(_code_complete_scripts, this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue