[C#] Grid Layout Group cells have another sizes

Hey, how to make somthing like that:


with Grid Layout Group in C#?
I mean every cell has another size;

If it is vertical only you can use Vertical Layout Group and add to it component ContentSizeFitter (set Vertical Fit to Preffered Size) and to every child add component LayoutElement and set different PrefferedHeight for each child.

1 Like

Thank you very much! it’s exactly what i mean!