Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibGUI: Add existing children widgets when layout manager changed
If a widget gains a layout manager after it already has child widgets, the existing widgets are unknown to the layout. Additionally, if a layout is reused, it may end up managing children of multiple different widgets. To simplify this, clear the entries of a layout manager when its owner changes, and add any existing children when a new owner comes along.
- Loading branch information