Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed width BlockAlertView buttons #64

Open
bmueller opened this issue Sep 9, 2013 · 1 comment
Open

Fixed width BlockAlertView buttons #64

bmueller opened this issue Sep 9, 2013 · 1 comment

Comments

@bmueller
Copy link

bmueller commented Sep 9, 2013

How would I go about adding fixed width buttons for the BlockAlertView? I want them to extend nearly the width of the alert view, but currently their width is dependent on the length of the button's text.

I tried simply adding a fixed width of 250 in the button's frame, but if the button's text label is relatively short, then the second button will appear off-frame. I can't figure out how to get that working correctly.

(BTW, I tried just adding spaces around the label text - this works fine in iOS6, but the text appears off-center in iOS7.)

Thanks!

@bmueller
Copy link
Author

Anyone have any ideas on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant