Skip to content

Commit

Permalink
Merge pull request #206 from zupolgec/patch-1
Browse files Browse the repository at this point in the history
Added Tk scaling to support High-DPI displays
  • Loading branch information
jamiesonpepper authored Jan 22, 2023
2 parents eba55d4 + e500366 commit 513381c
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 @@ -308,6 +308,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 513381c

Please sign in to comment.