Skip to content

Fixed width BlockAlertView buttons #64

@bmueller

Description

@bmueller

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions