🙂
Here is my code:
ZStack(alignment: .top) {
error()
.zIndex(1)
VStack(spacing: 0) {
viewOne()
anotherView()
anotherView()
anotherView()
anotherView()
viewTwo()
anotherView()
anotherView()
}
}
The issue comes with viewOne and viewTwo: viewTwo width is bigger than viewOne (sometimes, because it increases when de text is long), and it increases the size of viewOne too.
I need to “fix” the views size, but I think I can’t use fixedSize because the subviews have texts, and it has to be accessible (the views needs to increase a little bit when the user increase the text size.
Thanks!!