Fix "find and replace" initializing with wrong size

Fix the code editor outside the allowed limits.
This commit is contained in:
Guilherme Felipe 2018-06-10 19:10:32 -03:00
parent acd9646ede
commit 5bae3693bf
5 changed files with 9 additions and 8 deletions

View file

@ -1609,6 +1609,7 @@ ScriptTextEditor::ScriptTextEditor() {
code_editor->set_code_complete_func(_code_complete_scripts, this);
code_editor->get_text_edit()->connect("breakpoint_toggled", this, "_breakpoint_toggled");
code_editor->get_text_edit()->connect("symbol_lookup", this, "_lookup_symbol");
code_editor->set_v_size_flags(Control::SIZE_EXPAND_FILL);
update_settings();