Simulator not matching preview

Hi Everyone,

I’m trying out lesson 5 in ‘How to make an App’ with the card game and I’m getting and issue with the simulator. The preview seems to be perfect but the simulator looks different. It looks like the window in the simulator is of a different size. Do I have to change any settings? I have uploaded the screenshot below. Some help would be appreciated!

Welcome to the community! Did you check your code against the solution?
You may have mis typed something

Also you can paste your code in the forum

Paste your code in as text, rather than providing a screenshot.

To format the code nicely, place 3 back-ticks ``` on the line above your code and 3 back-ticks ``` on the line below your code. The 3 back-ticks must be the ONLY characters on the line. The back-tick character is located on the same keyboard key as the tilde character ~ (which is located below the Esc key). You can also highlight an entire code block and click the </> button on the toolbar to wrap the block for you.

This also makes it easier for anyone assisting as they can copy the code and carry out some testing.

Thanks! My code is a little different from the solution but I will try typing the exact solution and see if it will be fixed

This is the code. I’m still getting the same result with the simulator as in the screenshot

    ZStack() {
            
    Image("background").ignoresSafeArea()
        
    VStack(){
    Spacer()
    Image("logo")
    Spacer()
    HStack() {
        Spacer()
        Image("card3")
        Spacer()
        Image("card4")
        Spacer()
        
    }
    Spacer()
    Image("dealbutton")
    Spacer()
    HStack(){
        
        VStack{
            Text("Player")
            .font(.largeTitle)
            .foregroundColor(Color.white)
            Text("0")
            .font(.largeTitle)
            .foregroundColor(Color.white)
        }
        VStack{
            Text("CPU")
            .font(.largeTitle)
            .foregroundColor(Color.white)
            Text("0")
            .font(.largeTitle)
            .foregroundColor(Color.white)
        }
         
        }
    Spacer()
        }
        
    }