How to set the UI text shadow and color

Yes, this actually helped! Didn’t work for text color though, but I understood what the issue was - color RGB values should be in range of [0;1]. After changing that both issues resolved :smiley:

Attaching example of working text setup:

For ones interested - you can see all the available options by Ctrl-Clicking text_block. Then you’ll see all the methods you can use, and by clicking text_base you’ll see even more.

Also you can shorten it by passing everything to the constructor, though I couldn’t find option for shadow opacity, so you should set it separately :frowning:

6 Likes