I am using the following code to place an image on the screen. When I subtract anything from “geo.size.width” the image shifts left (.leading). See attached image. This happens in both the canvas and the Simulator. Thoughts?
Thanks for all of your help!
Monty
GeometryReader() {geo in
Image(getImage())
.resizable()
.clipped()
.aspectRatio( contentMode: .fill)
// .padding()
.frame(width: geo.size.width-40, alignment: .center)
}