[Solved] Superscript/Subscript a sub-string of text in QLabel?
-
Hi,
I have a QLabel with some text.
I want to superscript some part of the text.
How do I do that?
Also what if I want to subscript?
Thank You. -
For a QLabel you can set the text as
@label->setText("A<sub>1</sub><sup>2</sup>");@
-
@Sam Thank You.
That Worked!