diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-07-13 13:10:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 13:10:42 +0200 |
commit | aab6dc301cc2da010ad44da5c08ba3686ef9238a (patch) | |
tree | 269b0c913e3e5145f5ed9c449df8a22992adbef2 /editor/debugger/script_editor_debugger.cpp | |
parent | dd274139073da7119dfe8801c8dd29275c5fd830 (diff) | |
parent | 56a8d3f30c09fdc03b19ef48a97d344ffe2df974 (diff) |
Merge pull request #50086 from Geometror/label-improve-layout-options
Improvements to Label's layout options
Diffstat (limited to 'editor/debugger/script_editor_debugger.cpp')
-rw-r--r-- | editor/debugger/script_editor_debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp index b877ab030f..508b984b91 100644 --- a/editor/debugger/script_editor_debugger.cpp +++ b/editor/debugger/script_editor_debugger.cpp @@ -1535,7 +1535,7 @@ 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_autowrap_mode(Label::AUTOWRAP_WORD_SMART); reason->set_max_lines_visible(3); reason->set_mouse_filter(Control::MOUSE_FILTER_PASS); |