Any way to add a max-width to a list item?

I’m trying out the “Artboard Lists” to make UI element for a game in Unity. (I’m remaking the UI from the game Arknights as an exercice)

I need to make a list of characters that can vary from 1 unit to 13 so I would like to make it “responsive“.

I put the width of the list item as a “Fill” with a base size of 170px but when the Layout of the Arboard List is set to take the full width of the main artboard the list item get stretched out a lot when there is not a lot of unit. I’d like the list item to have a max-width so that it can get stretched down when there is a lot of item but not stretched out when there is just a few.


This is what i get now which works great when there is a lot of unit but not when there is just a few.


and this is what i would like to have, which i can get if I change the width of the layout wrapping the list to Hug instead of Fill. The problem is that now the list items overflows when there is a lot of unit…


Is there any way to make mix the two? Or a way to add a max-width to list item?