let’s say I have a main component with eight child components. All child components should lay out side by side and have the same height (= height of the parent component). The width of the individual child components may vary.
My question: how can I get the parent component height stay the same but adapt the width to be as large as all child components together? In other words, how can I set the size of the parent component in relation to its child components sizes/proportions?