Add gridbox children to children_ so that layout will see need_iteration when a flex node is in the grid

This commit is contained in:
Ken Reneris
2025-06-28 08:51:41 -07:00
parent 68fc9b1212
commit df2ddcc588

View File

@@ -46,6 +46,12 @@ class GridBox : public Node {
line.push_back(filler());
}
}
for (const auto& line : lines_) {
for (const auto &element : line) {
children_.push_back( element );
}
}
}
void ComputeRequirement() override {