# How to auto-grid buttons of different width

**URL:** <https://forum.ionicframework.com/t/how-to-auto-grid-buttons-of-different-width/48794>\
**Category:** ionic-v1\
**Created:** [April 8, 2016, 10:47am UTC](https://forum.ionicframework.com/t/how-to-auto-grid-buttons-of-different-width/48794 "2016-04-08T10:47:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swerty](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Swerty](https://forum.ionicframework.com/u/Swerty)\
**Post date:** [April 8, 2016, 10:47am UTC](https://forum.ionicframework.com/t/how-to-auto-grid-buttons-of-different-width/48794/1 "2016-04-08T10:47:40Z")

</div>

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!
