You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: