Layout Demo
Demonstrates dynamic switching between HorizontalLayout
and
VerticalLayout
.
Use the right side buttons to switch layout direction.
Use the bottom buttons to add or remove random rectangles from the layout group.
Layout auto-sizes and aligns children with spacing and padding.