Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
michelf committed Jan 23, 2024
2 parents c85e271 + 48299e5 commit 1e7976f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Sources/MFXUI/UX.swift
Original file line number Diff line number Diff line change
Expand Up @@ -281,4 +281,11 @@ extension UXApplication {

}

extension UXView {

public var fittingSize: CGSize {
sizeThatFits(CGSize(width: 99999999, height: 99999999))
}
}

#endif

0 comments on commit 1e7976f

Please sign in to comment.