Added the smart word wrap property to preview label

This commit is contained in:
Navdeep Singh Rathore 2021-09-15 13:50:10 +05:30
parent f9c6dc1d9d
commit 0b55eedc52

View file

@ -287,6 +287,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