summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-20 21:04:42 +0100
committerGitHub <noreply@github.com>2022-01-20 21:04:42 +0100
commit8bb98ad743c713409f59dc2dc05a28ef7809e7b3 (patch)
tree25982850708b775355833d8f93d0fcb32a198e20
parent880855264fdaf7b0a2ead6cf76a3722c4af43257 (diff)
parent0b55eedc522ded7b889970ee1daa20435e11c847 (diff)
Merge pull request #52690 from nsrCodes/batch-rename-preview-wrap
-rw-r--r--editor/rename_dialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/rename_dialog.cpp b/editor/rename_dialog.cpp
index 20845b0e9d..72686e9eb3 100644
--- a/editor/rename_dialog.cpp
+++ b/editor/rename_dialog.cpp
@@ -284,6 +284,7 @@ RenameDialog::RenameDialog(SceneTreeEditor *p_scene_tree_editor, UndoRedo *p_und
vbc->add_child(lbl_preview_title);
lbl_preview = memnew(Label);
+ lbl_preview->set_autowrap_mode(Label::AUTOWRAP_WORD_SMART);
vbc->add_child(lbl_preview);
// ---- Dialog related