Why is the Tkinter render quality much worse on windows? Why is the Tkinter render quality much worse on windows? tkinter tkinter

Why is the Tkinter render quality much worse on windows?


enter image description here

The differences in the display of the same application are due to differences in render engines used by each Operating system.

This is coverd in a Pakt pub ebook called Tkinter GUI Application Development Blueprints

passage regarding this topic available here.

It may be a pain to do but it looks like the most common fix for this is to detect your enviroment and write independent styles using the external option databasemore info is available in the documentation here.


Antialiasing is only enabled for Tkinter canvas object in OSX . You can get the aggDraw lib: http://effbot.org/zone/tkinter-aggdraw.htm as a workaround, but otherwise you will get jagged lines when trying to draw on a canvas. Fonts however should be anti-aliased on all major platforms.


Consider the resolution of the MAC as 1366x768 (expected),Suppose you are making your application windows size as 683x384 which is equal to (1366/2 x 768/2).

When the application will be run on a 4k Display it will display the dimensions as 683x384 for the main window but its dimensions on the 4k will be 4k/2.

So what you can do it write a general program with variable dimensions of the screens ,So that it will adjust its window size according to the screen size.

For more details refer to the https://www.tutorialspoint.com/python3/python_gui_programming.htm

Hope this will help.