The same code ,but :
win7

win10

I see that the font size looks different on the Begin button. Is the screen resolution exactly the same for both setups? What it looks like to me is that the size of X pixels on Windows 7 is different than the size of X pixels on Windows 10.
Win7 and win10 have the same resolution. 1920x1080
the Begin button looks different on win10,because Text scaling of win10 setting.
While the Begin button becomes normal(by change Text scaling of win10 setting), the problem still exists.
If specify the font or size of the frame or element separately, it will still be different in the two systems.
Finally found that (Window (font = ())) specified font, can minimize the difference between win7 and win10.(There will still be a little difference on the ProgressBar‘s length)
Forgive my lame English.(zzz)
The pixel length of a progress bar is specified in characters in the PySimpleGUI calls, but the tkinter representation is in pixels. I compute the length by taking the width of an "A" in pixels and multiplying it by the specified size.
The 2 windows posted have a clear difference in the size of the text shown. The word "Query" is visibly larger in one window than the other. There's no magic in my calculations. It's all data provided by tkinter.
One way through this is for me to provide a way to specify the size of the bar in pixels. I don't know if that will get you a consistent overall look however as the size of the input fields are not the same size too. I would need to provide a way to hard code those element in pixels as well.
I have an app built with PSG and it's used between W7 and W10. No one has noticed any graphical differences. Perhaps there are some visual effects enabled on one or the other? Like text size, windows aero, or some other thing. The pixel colors are different, text size and overall AO is skewed. Check the settings.
I have an app built with PSG and it's used between W7 and W10. No one has noticed any graphical differences. Perhaps there are some visual effects enabled on one or the other? Like text size, windows aero, or some other thing. The pixel colors are different, text size and overall AO is skewed. Check the settings.
I will check it out. Thanks
Did you find what was causing it?
Did you find what was causing it?

I think it should be the default character font of the progress bar is different.
so after specifying the font, the problem is solved.
Ahhh..... this makes more sense.
Which font did you change? Exactly what calls did you need to modify so that they matched? The PySimpleGUI default font = "Helvetica 10". But, perhaps that's not actually used in setting the length of the bar.
Here is the code that computes the length of the bar:
width = element_size[0]
fnt = tkinter.font.Font()
char_width = fnt.measure('A') # single character width
progress_length = width * char_width
emmm....I was wrong(/_/!)
Progress bar cannot specify font, does not take effect.
BUT,If you only specify the font, do not specify the font size, then win7 default size is 12, win10 is 14.
If you specify a font size, such as "Helvetica 10", it will be like this:
win7:

win10:

Here is the code:

So the problem is different rendering of the font size.