How to increase the font size of a Text widget?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are several ways to specify a font: the simplest is a tuple of the form
(family, size, style).An arguably better solution is to create a font object, since the font will exist as an object and can be modified at runtime.
By using the
Fontclass, you can change the font at any time, and every widget that uses the font will automatically be updated.For example, to change the size of the font for several widgets, you can change it once in the font and all widgets that use the font will see the change: