Re: small graphical question
Nathan smith <[email protected]> Thu, 11 Feb 2021 01:08:15 +0000
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
Hi Tim. Really appreciate your response here. time to dust off my Rich text research and start again! V best Nathan On 10/02/2021 02:15, Tim Roberts wrote: > Nathan smith wrote: >> >> I'm using a wx.textCtrl and trying to write powers and fractions. For >> instance, I would like to write 3 superscript 2 for 3 squared, or 3 >> over 5 for fractions, without necessarily writing 3/5. >> >> I did a look around and found a question related to this to do with a >> multiline Rich Text Widget but I'm hoping to only work with a single >> line textCtrl. > > Not in the general case, no. Unicode does have glyphs for superscript > and subscript 1 through 9, and fractions for 1/2, 1/3, 2/3, 1/4, 3/4, > 1/8, 3/8, 5/8, and 7/8, but that's it. If you're looking for general > case math symbols, then you absolutely need rich text. > -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/e1d7d455-cfca-6315-9355-0a7641cbe761%40gmail.com.