See .GIF for example. I've tried HBox/VBox Containers and Grid Containers but haven't been able to achieve this. I want it to be a case where if there's 2 children, they're displayed vertically. If another child is added, it's added vertically, like shown in the GIF.
However, also shown in the GIF, eventually a new row is made and it now starts at the top from there. How could I achieve this effect when adding children?