@Josh Thanks Josh,
Yeah, I knew it can possible in this way, but it takes time to do and sometimes I don’t want to set max width and height for the components.
and this way have a problem in some situations, please look at this image:
+1 to this. Defining a max width for the entire row is not useful as I also can’t control the number of items in a row (e.g. I want to display max 4 cards in a row, but 5 cards may be displayed if the individual card widths still allow for 5 to be displayed within the max defined row width)