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

Fix scaling in Interface Builder #3

Merged
merged 5 commits into from Jan 23, 2019

Conversation

Projects
None yet
2 participants
@boyvanamstel
Copy link
Contributor

boyvanamstel commented Jan 22, 2019

As requested in #2.

This keeps the aspect ratio by adding a layout constraint specifically for IB.
The layout constraint is no longer necessary as the progress view now scales properly, regardless of the aspect ratio. 🎉

resize

@boyvanamstel boyvanamstel changed the title Enforce aspect ratio in IB Fix scaling in IB Jan 22, 2019

@sindresorhus sindresorhus changed the title Fix scaling in IB Fix scaling in Interface Builder Jan 23, 2019

@sindresorhus sindresorhus merged commit f96eeb0 into sindresorhus:master Jan 23, 2019

@sindresorhus

This comment has been minimized.

Copy link
Owner

sindresorhus commented Jan 23, 2019

This is working perfectly. 🎉

@boyvanamstel boyvanamstel deleted the boyvanamstel:enforce-aspect-ratio branch Jan 23, 2019

@boyvanamstel

This comment has been minimized.

Copy link
Contributor Author

boyvanamstel commented Jan 23, 2019

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment