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 #20

Closed
guanzhendong opened this issue Sep 23, 2016 · 5 comments
Closed

Fixed width #20

guanzhendong opened this issue Sep 23, 2016 · 5 comments

Comments

@guanzhendong
Copy link

now FCAlertView has fixed margin and fixed height
defaultSpacing = 105.0f;
defaultHeight = 200.0f;
i want to fix the width and height , can you provide two properties ?

@nimati
Copy link
Owner

nimati commented Sep 23, 2016

I'll look into it for sure. Thanks!

@nimati
Copy link
Owner

nimati commented Oct 14, 2016

Hi @guanzhendong

You can use the latest commit to do what you desired, however please be cautious with changing these values, currently it's been optimized to look best on all iPhone sizes:

alert.customHeight = X;
alert.customSpacing = Y;

Cheers 💯

@nimati nimati closed this as completed Oct 14, 2016
@nimati
Copy link
Owner

nimati commented Oct 14, 2016

Note: this will be included in the next Pod release (in the upcoming days)

@guanzhendong
Copy link
Author

@nimati haha, thank you

@nimati
Copy link
Owner

nimati commented Oct 18, 2016

No problem @guanzhendong Enjoy!

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