How to set the underline for the text block?

Hi,

I want to set the underline for the text block with FTextBlockStyle, but it doesn’t work.

How to set the underline for the text block?

You need to set the UnderlineBrush on FTextBlockStyle to something. If you just want a solid line, then a 1x1 white square will do the job.

This was working when I tested it last week, though that was in C++ rather than UMG (in case that makes a difference).

Should the UnderlineBrush must set the texture?

Yes, brushes use textures.

Is there any solotion of UMG?Thanks a lot!

You can create an FTextBlockStyle variable. Then expose the variable for umg.