Skip to content

Commit

Permalink
Added tk scaling to support High-DPI displays
Browse files Browse the repository at this point in the history
Tested on macOS, Win 10 High-DPI display and Win 10 Low-DPI
  • Loading branch information
zupolgec authored Oct 16, 2018
1 parent 0069238 commit e500366
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spatialmedia/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e500366

Please sign in to comment.