Example
Child 0
Child 1
Child 2
Child 3
Child 4
Child 5
Resulting layout
This layout can be copy pasted to put in your code as an initial layout:
grid_layout = [ {'h': 5, 'i': '0', 'moved': False, 'w': 3, 'x': 0, 'y': 0},
{'h': 5, 'i': '1', 'moved': False, 'w': 5, 'x': 3, 'y': 0},
{'h': 11, 'i': '2', 'moved': False, 'w': 4, 'x': 8, 'y': 0},
{'h': 12, 'i': '3', 'moved': False, 'w': 5, 'x': 0, 'y': 5},
{'h': 6, 'i': '4', 'moved': False, 'w': 3, 'x': 5, 'y': 5},
{'h': 6, 'i': '5', 'moved': False, 'w': 7, 'x': 5, 'y': 11}]