Skip to main content

Sharpen blurry Tkinter scaling on Windows 10 high DPI displays

Project description

High-DPI-Tkinter

Sharpen blurry Tkinter scaling on Windows 10 high DPI displays

Installation

Install using pip

pip install hdpitkinter

Usage

Replace tkinter.Tk() to hdpitkinter.HdpiTk()

# from tkinter import Tk
from hdpitkinter import HdpiTk

# root = Tk()
root = HdpiTk()
# After that use like Tk instance
root.mainloop()

License

MIT License

Thanks

https://stackoverflow.com/questions/41315873/attempting-to-resolve-blurred-tkinter-text-scaling-on-windows-10-high-dpi-disp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hdpitkinter-1.0.3.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

hdpitkinter-1.0.3-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page