[Tkinter-discuss] Tkinter multiple font sizes in same text input

Bryan Oakley bryan.oakley at gmail.com
Sat Apr 30 08:01:15 EDT 2016


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 <sbaskin at clearviewsubsea.com
> 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
> Tkinter-discuss at python.org
> https://mail.python.org/mailman/listinfo/tkinter-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20160430/3f37484b/attachment.html>


More information about the Tkinter-discuss mailing list