Quantcast
Viewing all articles
Browse latest Browse all 14126

Increase font size in tkinter for large screens

I am writing a small application in tkinter which will run on a large screen. For the audience to see something at all I need huge font sizes for some widgets.

My problem now is, that tkinter seems to ignore font sizes larger than 40:

import tkinterroot = tkinter.Tk()for s in [10, 20, 40, 60, 80, 100]:    tkinter.Label(root, text=f"font size: {s}", font=("Arial", s)).pack()root.mainloop()

Image may be NSFW.
Clik here to view.
TKinter Fonts

Is there any way to increase the font size further?


Viewing all articles
Browse latest Browse all 14126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>