Does anyone have any ides to help me? I am a beginner with SwiftUI. I have several buttons arranged horizontally in an HStack and these are generated with a ForEach loop from an array. So the number of buttons in the HStack varies. My problem is that the buttons get so compressed if there are more than three or four that you can’t read the text on them. I need some way to drop some of the buttons to a next horizontal line.
The top green buttons are in a VStack and the bottom red buttons are in an HStack. The green and red buttons are each generated from different arrays. I want to fit them all on one screen one group on top the other.
Please offer any thoughts to help, Thanks