Jump to content

WidgetLabel::setFontOutline() not working with rich text


photo

Recommended Posts

Posted

string label = "<font face=source/gui/calibrii.ttf color=#DCDCC8 size=18>" + 
		"Caption" + 
		"</font>";

captionLabel.setText(label);
captionLabel.setFontOutline(true);

 

string label = "" + 
		"Caption" + 
		"";

captionLabel.setText(label);
captionLabel.setFontOutline(true);

 

Both this variants must show outlined text, but really working only second. In first variant outline does not appear.

Posted

This bug was fixed a month ago, but there is no SDK update yet.

×
×
  • Create New...