diff options
| author | Rémi Verschelde | 2018-05-26 15:50:05 +0200 |
|---|---|---|
| committer | GitHub | 2018-05-26 15:50:05 +0200 |
| commit | c0d37123050f0bbc04b42f3073ee22a657528190 (patch) | |
| tree | a4550cb21114679c82fd89d9e7892dc189fabe40 /editor/script_editor_debugger.cpp | |
| parent | a71b0830ab79709ec7f6daa1c9a03c6de6e9f83b (diff) | |
| parent | 98233073a9c8839e142ca5c430d382c7ae2ca348 (diff) | |
| download | godot-c0d37123050f0bbc04b42f3073ee22a657528190.tar.gz godot-c0d37123050f0bbc04b42f3073ee22a657528190.tar.zst godot-c0d37123050f0bbc04b42f3073ee22a657528190.zip | |
Diffstat (limited to 'editor/script_editor_debugger.cpp')
| -rw-r--r-- | editor/script_editor_debugger.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index 9ce430568..62848a603 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -872,7 +872,7 @@ void ScriptEditorDebugger::_set_reason_text(const String &p_reason, MessageType reason->add_color_override("font_color", get_color("success_color", "Editor")); } reason->set_text(p_reason); - reason->set_tooltip(p_reason); + reason->set_tooltip(p_reason.word_wrap(80)); } void ScriptEditorDebugger::_performance_select() { @@ -1877,6 +1877,9 @@ ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor) { reason->set_text(""); hbc->add_child(reason); reason->set_h_size_flags(SIZE_EXPAND_FILL); + reason->set_autowrap(true); + reason->set_max_lines_visible(3); + reason->set_mouse_filter(Control::MOUSE_FILTER_PASS); hbc->add_child(memnew(VSeparator)); |
