diff options
author | Bernhard Liebl <Bernhard.Liebl@gmx.org> | 2017-12-28 18:20:40 +0100 |
---|---|---|
committer | Bernhard Liebl <Bernhard.Liebl@gmx.org> | 2018-01-03 12:41:11 +0100 |
commit | a4fab0ab42b75a4eb6bb8a486ea6d65df02578c0 (patch) | |
tree | e5576d36a7a34ccd7c741f78fb19152f26e1df4b /editor | |
parent | a663dbfdd8465d45a03e4880c0d907334236b260 (diff) |
Make code editor's error display autowrap
Diffstat (limited to 'editor')
-rw-r--r-- | editor/code_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 216f2027fb..bb7f778de7 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -1251,7 +1251,7 @@ CodeTextEditor::CodeTextEditor() { error = memnew(Label); status_bar->add_child(error); - error->set_clip_text(true); //do not change, or else very long errors can push the whole container to the right + error->set_autowrap(true); error->set_valign(Label::VALIGN_CENTER); error->add_color_override("font_color", EditorNode::get_singleton()->get_gui_base()->get_color("error_color", "Editor")); error->add_font_override("font", EditorNode::get_singleton()->get_gui_base()->get_font("status_source", "EditorFonts")); |