Answer by George for I want to set a fixed width to a VStack but it doesn't work
Firstly - never set a fixed size to .infinity. You can set maxWidth/maxHeight, but not width/height.Next, I would structure it slightly differently. I would have the yellow view be the base - and the...
View ArticleI want to set a fixed width to a VStack but it doesn't work
I want to set a fixed width to a VStack but it doesn't work, the container wraps to the text and each box is independent for a listThis is the container:var body: some View { HStack { GeometryReader {...
View Article