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

title width enhancement? #166

Closed
wdcurry opened this issue Dec 28, 2015 · 1 comment
Closed

title width enhancement? #166

wdcurry opened this issue Dec 28, 2015 · 1 comment

Comments

@wdcurry
Copy link

wdcurry commented Dec 28, 2015

I generally try to avoid settings frames as much as possible, and given we set the title in the show method, it seems a tad more difficult to increase the size of the alert to match a slightly wider title. Cut-off titles just aren't proper.

Short of digging into the repo and editing, is there another way to manage this other than shortening the title itself?

@dogo
Copy link
Owner

dogo commented Feb 2, 2016

/** Initialize SCLAlertView using a new window.
 *
 * Init with new window with custom width
 */
- (instancetype)initWithNewWindowWidth:(CGFloat)windowWidth;

You can increase the window width, making more room to your title

@dogo dogo closed this as completed Feb 2, 2016
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

2 participants