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

not able to align the action button in center of the page #16

Open
vamshimoonraft opened this issue Dec 21, 2015 · 1 comment
Open

not able to align the action button in center of the page #16

vamshimoonraft opened this issue Dec 21, 2015 · 1 comment
Labels

Comments

@vamshimoonraft
Copy link

vamshimoonraft commented Dec 21, 2015

Hello sir ...Am not able to change the code so that the main action button to be aligned in the center for all the universal devices ... Can you help me with the changes that need to be done

@lourenco-marinho
Copy link
Owner

Hi @vamshimoonraft! I won't be able to code right now, but you can make a fork from ActionButton and change the function installConstraints () inside de ActionButton.swift file. You i'll basically need one constraint to align the button in the center of the container and another to align it to the bottom margin.

I'm also planning to update this pod to support right, center and left position.

I hope that helps and thanks for your question!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants