Here’s the solution.
In the widget BP:
Inverted Text is an image in the designer. It’s image size is 500x100 in the brush settings.
And the material:
The font that you use for DrawText affects the size of the text, you have to set the legacy size in the font.