[Tkinter] Ignore windows scaling in tkinter - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: [Tkinter] Ignore windows scaling in tkinter (/thread-11725.html) |
Ignore windows scaling in tkinter - Gangwick - Jul-23-2018 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 :) RE: Ignore windows scaling in tkinter - Larz60+ - Jul-23-2018 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. RE: Ignore windows scaling in tkinter - Gangwick - Jul-23-2018 Yes, it is right... it's hard to get a window exactly as we want... Okay, I will watch them, thank you ! |