Skip to content

Dynamically set button height to allow for multiple lines of text.#139

Merged
dogo merged 1 commit into
dogo:masterfrom
yatryan:feature/Multiline_Button_Support
Aug 14, 2015
Merged

Dynamically set button height to allow for multiple lines of text.#139
dogo merged 1 commit into
dogo:masterfrom
yatryan:feature/Multiline_Button_Support

Conversation

@yatryan

@yatryan yatryan commented Aug 14, 2015

Copy link
Copy Markdown

This provides the ability to have multiple lines of text in the buttons on the AlertView. After the title is set, it grabs the new height of the titleLabel and sets the button height to that plus a padding constant. I kept the minimum height to 35.0f.

@dogo dogo merged commit 914dc88 into dogo:master Aug 14, 2015
@dogo

dogo commented Aug 14, 2015

Copy link
Copy Markdown
Owner

Nice! Thank you

@yatryan yatryan deleted the feature/Multiline_Button_Support branch August 14, 2015 17:45
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

Successfully merging this pull request may close these issues.

3 participants