Python Forum

Full Version: Ignore windows scaling in tkinter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello :)

I am French, sorry for my low level in english :)

I want to ignore the Windows 10's scaling for my tkinter window.

We can set the scale with a right click on the desktop, then Display Settings :

https://zupimages.net/up/18/30/onay.png

So i set the scale to 125% because i have a large screen, i need to magnify my texts, pictures...

Indeed, the Windows scaling magnifies my pictures in tkinter's Canvas and cause troubles.

So i want to ignore the windows 10's scale. Is it possible ?

Thank you :)
One of the most difficult things to get right on tkinter is scaling, and geometry in general.
It's one of the main reasons why I only use it for trivial applications any longer.

If you are at a stage where you could switch GUI packages, I'd strongly suggest using wxpython (phoenix for python 3) or
Qt5. I prefer wxpython because it's totally open source, but Qt is excellent, has a community (free) edition and great python interfaces, so it can't be discounted.
Yes, it is right... it's hard to get a window exactly as we want...
Okay, I will watch them, thank you !