Stroke text on Label (RichTextLabel)

Started by iiiypuk, 07 May 2024, 00:22:31

iiiypuk

How do I add an outline for the text?
The third (top, left) example in the image.


texus

Code (cpp) Select
label->getRenderer()->setTextOutlineThickness(1);
label->getRenderer()->setTextOutlineColor(tgui::Color::Black);