Re: Tkinter multiple font sizes in same text input
Bryan Oakley <[email protected]>
| Newsgroups | gmane.comp.python.tkinter |
|---|---|
| Message-ID | <CAKypQnwgF1OyN1E2mAyWPSB6v1xnCVFXiG8xOEOhQXJp+fPdUg@mail.gmail.com> |
it is not possible to do this with an Entry widget, but you can create a one-line Text widget and use the text widget's ability to change the attributes of each character with tags. On Fri, Apr 29, 2016 at 9:31 AM, Stewart Baskin <[email protected] > wrote: > Hello, > > > > Thank you in advance for your assistance with this query. I would like to > produce multiple font sizes on the same line. For example: > > > > ## mg/l > > > > I know how to assign the font type/size, but am unable to do this twice > (only the second text and font size appear in the window). > > > > Is it possible to assign multiple font sizes to the same line in Tkinter? > > > > Thank you, > > Stew > > _______________________________________________ > Tkinter-discuss mailing list > [email protected] > https://mail.python.org/mailman/listinfo/tkinter-discuss > > _______________________________________________ Tkinter-discuss mailing list [email protected] https://mail.python.org/mailman/listinfo/tkinter-discuss