How to set text position for all screen sizes in SwiftUI?

Hi everyone, I'm working on a measurements app, and I would like to set measuring in the object, looking at the image.

That screenshot from iPhone 14 pro max, but when I run the app in iPhone 14 pro, the view is very bad. How can I solve that issue?

My code:

ZStack {
    GeometryReader { geo in
        Image("test3")
            .resizable()
            .scaledToFit()
            .frame(maxWidth: geo.size.width * 1)
            .padding()
        
        HStack(spacing: 40) {
            
            Text(Joint.formatted())
                .position(x: geo.size.width - 383, y: geo.size.height - 350)
            
            Text(W1.formatted())
                .position(x: geo.size.width - 405, y: geo.size.height - 350)
            
            Text(L1.formatted())
                .position(x: geo.size.width - 382, y: geo.size.height - 350)
            
            Text(W2.formatted())
                .position(x: geo.size.width - 365, y: geo.size.height - 350)
            
            Text(L2.formatted())
                .position(x: geo.size.width - 350, y: geo.size.height - 350)
            
        }
    }
}

Thanks in advance

Could you post enough code so that we can reproduce (Joint, W1… definitions).

Why don't you position only the HStack ? Having position in each view of the Stack may create problem.

Could you also post the real 2 screenshots (pro and max) so that we can see exactly what you get ?

This screenshot of iPhone 14 pro

How to set text position for all screen sizes in SwiftUI?
 
 
Q