Jump to content

WidgetLabel::setText() and correct rich-text format


photo

Recommended Posts

Posted

We use html-formatted strings for rich-text format, we have two examples:

1.

"<font face=source/gui/calibriib.ttf color=#DDDD00 size=20>" +
"Scarlet darkness in the heavenly mobile" +
"</font>"

2.

"<font face=source/gui/calibriib.ttf color=#DDDD00 size=20>" +
"Scarlet darkness in the heavenly mobile" +
"</font>"

Both this variants present on screenshot:

post-151-0-58411200-1305793548_thumb.jpg

 

Right behavior: second point must working like first

Details: Convert Xml node's children to string

×
×
  • Create New...