Merge pull request #93386 from anniryynanen/grid-min-size
Fix GridContainer minimum size when there's a hidden parent
This commit is contained in:
commit
9de785639d
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ Size2 GridContainer::get_minimum_size() const {
|
|||
|
||||
int valid_controls_index = 0;
|
||||
for (int i = 0; i < get_child_count(); i++) {
|
||||
Control *c = as_sortable_control(get_child(i));
|
||||
Control *c = as_sortable_control(get_child(i), SortableVisbilityMode::VISIBLE);
|
||||
if (!c) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue