summaryrefslogtreecommitdiffstats
path: root/editor/editor_about.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-07-13 13:10:42 +0200
committerGitHub <noreply@github.com>2021-07-13 13:10:42 +0200
commitaab6dc301cc2da010ad44da5c08ba3686ef9238a (patch)
tree269b0c913e3e5145f5ed9c449df8a22992adbef2 /editor/editor_about.cpp
parentdd274139073da7119dfe8801c8dd29275c5fd830 (diff)
parent56a8d3f30c09fdc03b19ef48a97d344ffe2df974 (diff)
downloadredot-engine-aab6dc301cc2da010ad44da5c08ba3686ef9238a.tar.gz
Merge pull request #50086 from Geometror/label-improve-layout-options
Improvements to Label's layout options
Diffstat (limited to 'editor/editor_about.cpp')
-rw-r--r--editor/editor_about.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_about.cpp b/editor/editor_about.cpp
index b8504ad02a..e28ba9a184 100644
--- a/editor/editor_about.cpp
+++ b/editor/editor_about.cpp
@@ -212,7 +212,7 @@ EditorAbout::EditorAbout() {
Label *tpl_label = memnew(Label);
tpl_label->set_h_size_flags(Control::SIZE_EXPAND_FILL);
- tpl_label->set_autowrap(true);
+ tpl_label->set_autowrap_mode(Label::AUTOWRAP_WORD_SMART);
tpl_label->set_text(TTR("Godot Engine relies on a number of third-party free and open source libraries, all compatible with the terms of its MIT license. The following is an exhaustive list of all such third-party components with their respective copyright statements and license terms."));
tpl_label->set_size(Size2(630, 1) * EDSCALE);
license_thirdparty->add_child(tpl_label);