From e5003669616acced4a8f7629268bf4ed6f8cfcc5 Mon Sep 17 00:00:00 2001 From: Mattia Trapani Date: Tue, 16 Oct 2018 17:46:54 +0200 Subject: [PATCH] Added tk scaling to support High-DPI displays Tested on macOS, Win 10 High-DPI display and Win 10 Low-DPI --- spatialmedia/gui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spatialmedia/gui.py b/spatialmedia/gui.py index 96eee80..1e89e53 100755 --- a/spatialmedia/gui.py +++ b/spatialmedia/gui.py @@ -306,6 +306,7 @@ def report_callback_exception(self, *args): def main(): root = Tk() + root.tk.call('tk', 'scaling', 2.0) Tk.report_callback_exception = report_callback_exception app = Application(master=root) app.mainloop()