I\'m trying to create a simple stack of Text inside a VStack, and no matter what I do, the text will truncate instead of wrap, even if I explicitly
Text
VStack
I figured out how to get the text to render properly.
Applying the answer here works: Views compressed by other views in SwiftUI VStack and List
The key is to ensure that the .fixedSize() gets added before .frame()
.fixedSize()
.frame()
No Spacer() needed!
Spacer()