Fix issues in Container types related to max size
Fix `GraphNode` not respecting "slot" `StyleBox` fully. Fix some `Container` types not respecting bound sizes.
This commit is contained in:
@@ -63,7 +63,7 @@ void GridContainer::_resort() {
|
||||
if (is_propagating_maximum_size()) {
|
||||
c->set_parent_maximum_size_cache(combined_max_size);
|
||||
}
|
||||
Size2i ms = c->get_combined_minimum_size();
|
||||
Size2i ms = c->get_bound_minimum_size();
|
||||
Size2 max_size = c->get_combined_maximum_size();
|
||||
if (col_minw.has(col)) {
|
||||
col_minw[col] = MAX(col_minw[col], ms.width);
|
||||
|
||||
Reference in New Issue
Block a user