Merge pull request #50086 from Geometror/label-improve-layout-options

Improvements to Label's layout options
This commit is contained in:
Rémi Verschelde authored and GitHub committed 2021-07-13 13:10:42 +02:00
commit aab6dc301c
24 files changed
+564 -43

No files matched your search

+1 -1
View File
@@ -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);