enter picture description right here
I am having hassle including textual content to the underside of a button. Every time the inscription is within the heart and I’ve to have it on the backside as within the image
`
struct Main_view: View {
var physique: some View {
ZStack{
Shade(App_Color.background_color)
.edgesIgnoringSafeArea(.all)
//ZStack{
Button (motion: {})
{
VStack{
ZStack{
VStack{
Picture("Picture")
.resizable()
.body(width: 120, peak: 120)
.cornerRadius(30)
Textual content("ZWIERZĘTA")
.foregroundColor(Shade.orange)
.daring()
.padding(-30)
//.font(.customized("AmaticSC-Common", dimension: 15))
}
}
}
}
//}
}
}
}
enter picture description right here`
Solely the way it works after I give .padding(-30). is there any resolution to this drawback?