- Home /
Nested UI elements and layout
Hi,
I have a problem that I can't figure out the solution to and was hoping for some help here. It's a bit complicated but I'll do my best to explain with images and text.
So first off. Below is what I want to achieve. A row of grouped ui elements of various sizes that retains the same spacing regards of how many elements are within each group.
If I place my groups of elements (playerContainer) as a direct child to historyContainer the layout and spacing works according to plan. However if I place my group of elements (playerContainer and matchContainer") within another GO (historyHolder) first it seems historyContainer can't understand how much space the UI-elements takes up and space them accordingly. Any ideas how I should go about structuring my content to achieve desired result?