UMG: Text block color codes?

Hello,
Is there any way to change part of the text in textblock to be different color (like first word/sentence)?

Nope… this is one of the limitations with UMG which personally really disappoints me.

There really needs to be proper rich text support… I mean any UI system that I have ever used before have that.

The only thing you can do right now is to use multiple text blocks right next to each other (you can use a wrap box for example) but the issue I currently have with this method is that the more text blocks there are, the more the performance hit becomes, I guess the draw calls aren’t batched properly? or I don’t know.

My case is kind of extreme and pretty heavy on text though.

If you only need for relatively small number of words to be a different color then it should be no problem at all.

Hi TK-Master,

Have you found a way around the performance problem or otherwise found a better solution for this?

It shouldn’t be that heavy on the GPU since it’s an extremely low order draw call.

Maybe the Invalidation Box Widget can solve the performance problem. It’s under Palette > Optimization.

If someone stumbled upon this, there’s already a solution for it in the forums. It’s currently implemented as experimental but can already be used.