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

Size views by their bounds instead of frame #50

Merged
merged 3 commits into from
Jul 15, 2021

Conversation

NickEntin
Copy link
Collaborator

@NickEntin NickEntin commented Jan 18, 2021

The primary behavior difference here affects views that have a non-identity transform applied.

There is also a slight behavior difference in that sizing views is now center-preserving, rather than origin-preserving. This shouldn't affect most idiomatic Paralayout code, since the recommendation is to size views, then align them.

This addresses part of #49.

Base automatically changed from entin/clean-up-resizing-methods to develop/1.0 January 20, 2021 18:46
@NickEntin NickEntin added this to the 1.0 milestone Feb 3, 2021
The primary behavior difference here affects views that have a non-identity transform applied.

There is also a slight behavior difference in that sizing views is now `center`-preserving, rather than `origin`-preserving. This shouldn't affect most idiomatic Paralayout code, since the recommendation is to size views, then align them.
@NickEntin NickEntin marked this pull request as ready for review July 15, 2021 09:37
@NickEntin NickEntin merged commit 2d5d375 into develop/1.0 Jul 15, 2021
@NickEntin NickEntin deleted the entin/size-via-bounds branch July 15, 2021 17:54
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.

None yet

2 participants