Skip to content

Commit 45a9806

Browse files
committed
Merge pull request #121679 from ELginas/bug-121372
Fix BoxContainer not notifying about minimum_size change when resorting
2 parents 6fbbfc1 + 634853c commit 45a9806

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scene/gui/container.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ void Container::_sort_children() {
9797
return;
9898
}
9999

100+
update_minimum_size();
101+
100102
notification(NOTIFICATION_PRE_SORT_CHILDREN);
101103
emit_signal(SceneStringName(pre_sort_children));
102104

0 commit comments

Comments
 (0)