1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

Fixed cases where labels with autowrap can overflow the editor ui

Fixes #33155
This commit is contained in:
PouleyKetchoupp
2019-11-04 10:12:15 +01:00
parent 5dac35a300
commit 13c88878c4
7 changed files with 16 additions and 3 deletions

View File

@@ -529,6 +529,7 @@ GroupDialog::GroupDialog() {
group_empty->set_valign(Label::VALIGN_CENTER);
group_empty->set_align(Label::ALIGN_CENTER);
group_empty->set_autowrap(true);
group_empty->set_custom_minimum_size(Size2(100 * EDSCALE, 0));
nodes_to_remove->add_child(group_empty);
group_empty->set_anchors_and_margins_preset(PRESET_WIDE, PRESET_MODE_KEEP_SIZE, 8 * EDSCALE);