mirror of
https://github.com/godotengine/godot.git
synced 2025-10-27 11:44:21 +00:00
Rename Control PRESET_WIDE to PRESET_FULL_RECT
This commit is contained in:
parent
abe8b88702
commit
97dfbea6ad
49 changed files with 106 additions and 106 deletions
|
|
@ -1821,7 +1821,7 @@ void ScriptTextEditor::_enable_code_editor() {
|
|||
|
||||
VSplitContainer *editor_box = memnew(VSplitContainer);
|
||||
add_child(editor_box);
|
||||
editor_box->set_anchors_and_offsets_preset(Control::PRESET_WIDE);
|
||||
editor_box->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT);
|
||||
editor_box->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
|
||||
editor_box->add_child(code_editor);
|
||||
|
|
@ -1958,7 +1958,7 @@ void ScriptTextEditor::_enable_code_editor() {
|
|||
ScriptTextEditor::ScriptTextEditor() {
|
||||
code_editor = memnew(CodeTextEditor);
|
||||
code_editor->add_theme_constant_override("separation", 2);
|
||||
code_editor->set_anchors_and_offsets_preset(Control::PRESET_WIDE);
|
||||
code_editor->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT);
|
||||
code_editor->set_code_complete_func(_code_complete_scripts, this);
|
||||
code_editor->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue