WrappingHStack
WrappingHStack copied to clipboard
NewLine in Loop not working
Not sure if it's a bug ore a feature request but adding new line inside a loop would be great to have. This is not working currently.
WrappingHStack(1...20, id:\.self) {
if $0 == 3 {
NewLine()
}
Text("Item: \($0)")
.padding(3)
.background(Rectangle().stroke())
}.frame(minWidth: 250)
Otherwise working really great.