sdxsdx Posted June 20, 2023 Posted June 20, 2023 to set the font color, I can't find any statements in document, is it there? For alternative, I can use sprite with coloring to draw text, but if the ui system has setting font color function that will be great. Quote
Solution Dreikblack Posted June 21, 2023 Solution Posted June 21, 2023 widget->SetColor(1, 0, 0, 1, WIDGETCOLOR_FOREGROUND); Quote
sdxsdx Posted June 21, 2023 Author Posted June 21, 2023 14 minutes ago, Dreikblack said: widget->SetColor(1, 0, 0, 1, WIDGETCOLOR_FOREGROUND); Thank you. it works. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.