mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-08-31 20:04:43 +08:00
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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user