# Ion-option-button's should have the same size

**URL:** <https://forum.ionicframework.com/t/ion-option-buttons-should-have-the-same-size/16839>\
**Category:** ionic-v1\
**Created:** [February 3, 2015, 1:01am UTC](https://forum.ionicframework.com/t/ion-option-buttons-should-have-the-same-size/16839 "2015-02-03T01:01:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![luisrudge](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@luisrudge](https://forum.ionicframework.com/u/luisrudge)\
**Post date:** [February 3, 2015, 1:01am UTC](https://forum.ionicframework.com/t/ion-option-buttons-should-have-the-same-size/16839/1 "2015-02-03T01:01:53Z")

</div>

**ionic:**

![image](https://global.discourse-cdn.com/ionicframework/original/3X/d/5/d529b760106990ee83052d0a3af88360c8cf3ca9.png)

* * *

**ios:**

![image](https://global.discourse-cdn.com/ionicframework/original/2X/9/9e74acac30956589ead36600bb95fd1bfee402a1.png)

Notice how iOS has the buttons with the same width

---

<div class="post-metadata">

**Author:** ![Endiss](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/endiss/32/7786_2.png) [@Endiss](https://forum.ionicframework.com/u/Endiss)\
**Post date:** [February 3, 2015, 1:21am UTC](https://forum.ionicframework.com/t/ion-option-buttons-should-have-the-same-size/16839/2 "2015-02-03T01:21:41Z")

</div>

Just use some custom class with css width?  
Ionic is cross platform not only focused on IOS.

---

<div class="post-metadata">

**Author:** ![luisrudge](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@luisrudge](https://forum.ionicframework.com/u/luisrudge)\
**Post date:** [February 3, 2015, 2:13am UTC](https://forum.ionicframework.com/t/ion-option-buttons-should-have-the-same-size/16839/3 "2015-02-03T02:13:12Z")

</div>

Yeah. that’s one way. But it already knows i’m running on iOS or android. Maybe it should do that by default?

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [February 4, 2015, 12:07am UTC](https://forum.ionicframework.com/t/ion-option-buttons-should-have-the-same-size/16839/4 "2015-02-04T00:07:13Z")

</div>

So the issue comes down to we don’t know what kind of text will be in there.  
Sure we could add a min-width to it, but if the buttons text exceeds that width, you’ll still get the same problem.

---

<div class="post-metadata">

**Author:** ![luisrudge](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@luisrudge](https://forum.ionicframework.com/u/luisrudge)\
**Post date:** [February 4, 2015, 12:37am UTC](https://forum.ionicframework.com/t/ion-option-buttons-should-have-the-same-size/16839/5 "2015-02-04T00:37:07Z")

</div>

Yeah. That makes sense. Thanks!
