Text inside a VStack truncates when it's not supposed to in SwiftUI

后端 未结 3 1371
星月不相逢
星月不相逢 2021-01-01 19:29

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

3条回答
  •  隐瞒了意图╮
    2021-01-01 20:08

    I had to add .fixedSize(horizontal: false, vertical: true) AND .padding() before all my text would stop truncating (show in view properly) I also have a frame tag for a separate vstack (I have 2 separate vstacks in the view)

提交回复
热议问题