How to auto-grid buttons of different width


Hey, i’m trying to build a flipboard-style interest selection composed of a list of buttons, each with a different width. is there a way i can auto-grid them?

my fallback is to build it manually with Explicit Column Percentage Classnames… is there a way to aviod that?

Thanks a lot!