[Qt-interest] QLabel text decoration ignored

Jan Dinger dinger.jan at googlemail.com
Fri Feb 13 12:20:40 CET 2009


Hello folks,

I've a problem with QLabel. After a new line "\n" all other
decorations will be ignored.

### snip ###
QLabel* test = new QLabel(tr("Test text\n<b>Tip</b>"));
### snap ###

In this part the new line break will be ignored. In other
constructions the bold maker and the italic maker will be ignored too.
What can I do to solve the problem.


Thanks for help

jd



More information about the Qt-interest-old mailing list