Python Forum
[Tkinter] Screen Blurriness Fix
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Screen Blurriness Fix
#1
I'm developing a software with a GUI using Tkinter. I issue I'm running into is that the Tkinter window appears to be rather blurry and low quality. The text especially, looks pretty bad. Not the first impression I want to give to my users.

I start searching around online and came across this solution to fix resolution. They have used methods such as
ctypes.windll.shcore.SetProcessDpiAwareness(1)
and
root.tk.call('tk', 'scaling', 2.0)
. It works and all, but I'm having trouble understand the logic.

My tkinter screen has gotten smaller, and the position of things has moved around a bit and I'm confused about what size (pixel sizes) values to be using now. Can anyone explain the exact logic used by these commands?
Reply


Messages In This Thread
Screen Blurriness Fix - by Knight18 - May-25-2020, 10:13 AM
RE: Screen Blurriness Fix - by Larz60+ - May-25-2020, 11:36 AM
RE: Screen Blurriness Fix - by Knight18 - May-25-2020, 12:41 PM
RE: Screen Blurriness Fix - by Larz60+ - May-25-2020, 03:23 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020