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/groups_editor.cpp | |
| parent | dd274139073da7119dfe8801c8dd29275c5fd830 (diff) | |
| parent | 56a8d3f30c09fdc03b19ef48a97d344ffe2df974 (diff) | |
| download | redot-engine-aab6dc301cc2da010ad44da5c08ba3686ef9238a.tar.gz | |
Merge pull request #50086 from Geometror/label-improve-layout-options
Improvements to Label's layout options
Diffstat (limited to 'editor/groups_editor.cpp')
| -rw-r--r-- | editor/groups_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/groups_editor.cpp b/editor/groups_editor.cpp index 1b11ec4451..1be7a5336a 100644 --- a/editor/groups_editor.cpp +++ b/editor/groups_editor.cpp @@ -531,7 +531,7 @@ GroupDialog::GroupDialog() { group_empty->set_text(TTR("Empty groups will be automatically removed.")); group_empty->set_valign(Label::VALIGN_CENTER); group_empty->set_align(Label::ALIGN_CENTER); - group_empty->set_autowrap(true); + group_empty->set_autowrap_mode(Label::AUTOWRAP_WORD_SMART); group_empty->set_custom_minimum_size(Size2(100 * EDSCALE, 0)); nodes_to_remove->add_child(group_empty); group_empty->set_anchors_and_offsets_preset(Control::PRESET_WIDE, Control::PRESET_MODE_KEEP_SIZE, 8 * EDSCALE); |
