Many sites say the Menu widget has an option 'font', but I've been unable to set it. System is Python 3.5 running in Windows 8.1 . Script starts:
All lines below have failed :
1. root.configure(font = ('Verdana',14))
2. root.option_add("*Font", ('Verdana', 14))
3. menubar = Menu(root, font = ('Verdana', 14))
4. menubar.configure(font = ('Verdana', 14))
5. menubar.add_command(label = "File", font = ('Verdana', 14))
6. default_font = Font.nametofont('Verdana')
7. default_font.configure(size = 14)
*Most of above give error " unknown option 'font' "*
Thanks scotty3785. Solved by changing the Menu font in Windows :
Windows System > Control Panel > Appearance > Display > Change Text Size > choose Menus
Now the menu font of tkinter is larger.
Might be said that Python's tkinter is not completely cross-platform.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With