Skip to content

Commit

Permalink
Make UIViewBox use the same patterns as ViewBox (#2400)
Browse files Browse the repository at this point in the history
We now include the margin when measuring on 'Stretch'
alignment. This was causing a layout bug previously.

We now use sizeThatFits exclusively, rather than using
sizeThatFits when measuring and systemLayoutSizeFittingSize
during layout.

Co-authored-by: Jesse Wilson <[email protected]>
  • Loading branch information
swankjesse and squarejesse authored Oct 23, 2024
1 parent 231b244 commit 2f23df9
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 241 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2f23df9

Please sign in to comment.