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:
Enzo Novoselic
2026-06-20 17:58:35 -04:00
parent f964fa714f
commit 87f1fade30
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -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);