How to increase thickness of Text Strikethrough effect

There seems to be very little info online about the Strike Brush option for Text or Rich Text in UMG. Does anyone know how to increase the thickness of the strikethrough effect? Thanks!

I thank God for showing me a simple workaround!!

  1. Instead of using the Strike Brush, select the Text Block in the “Hierarchy”, right-click and choose “Wrap with”. Choose Overlay.

  2. Next, add a Border to that Overlay and name it as you wish (I named it “Strikethrough”).

image

  1. Set the Horizontal Alignment of the Border to “Fill” and the Vertical alignment to “Center”.

  1. Now increase the Padding of the Border to make the strikethrough effect as thick as you want.

  1. I also increased the left and right Padding for the Text Block, which allows the strikethrough effect to extend past the Text Block’s edges.

  1. Toggle the visibility of the Border using a Set Visibility node based on your needs:

You now have easy strikethrough text in Unreal Engine! :smile:

1 Like

thanks. how come you increased padding for making it expand? it works reverse to me, I have to decrease slot padding to make it longer

also, I can’t seem to make the strike border adjust to be as wide as the text:

You’re welcome!

If you want the Strikethrough effect to be thicker, make sure you adjust the Border’s “Padding” under the “Content” category, NOT the “Padding” under the “Slot (Overlay Slot)” category:

If you want the Strikethrough effect to be longer, you can increase the “Padding” for the TEXT Block under the “Slot (Overlay Slot)” category:

However, the above method works best if your Overlay has its “Horizontal Alignment” set to something other than “Fill”:

If the Overlay’s “Horizontal Alignment” is set to fill, then the Strikethrough through effect will stretch ALL the way (which may or may not be what you want). :grinning:

I hope this helps!