ianb821 / IBActionSheet

Customizable iOS 7 style UIActionSheet
MIT License
307 stars 65 forks source link

Control height? #27

Closed troypayne closed 9 years ago

troypayne commented 9 years ago

I want the height of my buttons (other than Cancel) (I don't have a title) to be 80. Any guidance? Playing with the numbers isn't quite working as I expected

ianb821 commented 9 years ago

To adjust the height of the button, there would be a few places you'd need to make adjustments. First you can change the height of the buttons themselves in the init method for IBActionSheetButton. Then I believe you would need to change references to the button height in - (void)setUpTheActionSheet. I'm not at a computer and able to test this at the moment, but I believe that should get you started in the right direction.