WrappingHStack icon indicating copy to clipboard operation
WrappingHStack copied to clipboard

What is layoutProperties used for?

Open break2k opened this issue 1 year ago • 1 comments

See the attached screenshot and the linked line.

image

https://github.com/ksemianov/WrappingHStack/blob/main/Sources/WrappingHStack/WrappingHStack.swift#L36

break2k avatar Oct 11 '23 06:10 break2k

LayoutProperties is one of the optional Layout protocol requirements. In theory, it might help SwiftUI's layouting engine to make better size proposals. However, I haven't observed any difference with default values.

ksemianov avatar Oct 11 '23 10:10 ksemianov