How to add an image in a multiline text

Hi, I want to have a text with multiple lines and with an icon in the midle of the text. This text will be localized, so I need a generic solution. I had made several tests but I didn’t get the result I was expecting, having some problems with the format of the lines. I attach an image with an example of what I want to achieve.

103271-icon_multiline.jpg

The text I would be something like “If you want to jump press the {x_button} and you will be able to reach new areas”, changing the {x_button} tag for the icon itself. I have searched a lot about this issue but I didn’t found any solution, so any help will be great.

Hi Lithara, unfortunately you can’t directly insert your image into the textBox. You still have some options.

  1. If you planned to have many languages and need more flexibility as possible I suggest you this technique. (the best one for me) Create a WrapBox and separate everything like this.

[WrapBox]

  • Press
  • Image (SpaceBar Icone) (set the padding to the desire size with the image)
  • to jump.

This technique work well but have one major problem. Let me explain. If you need a lot of icon and text, it’s not impossible that you need to separate some text like this to get better result->

[WrapBox]

  • Press
  • Image (SpaceBar Icone) (set the padding to the desire size with the image)
  • to jump and double
  • click to jump higher.
  • Press
  • Image (X)
  • to fly with the bees
  • and bird.

(I didn’t test this example but you’ll get it after some test)

  1. It’s simple, it’s to make the whole text inside the canvas, then add images manually. It will fail with language options but still not that bad.

  2. I’m not sure this options will satisfy you, but still an options. Maybe try to use font directly for the icon.
    exemple=> Geometric Shapes (Unicode block) - Wikipedia you’ll easily find triangle, square and circle.

  3. Last options in head is to make some manipulation inside the engine (with c++) to make this possible.

I wish this can help you a little, if you have other question, feel free to ask!

Cheers

Ok, thank you, I was afraid of that. The first option is only valid for one line (I’m using this in other places) and the second option is not valid for me because the localization. I think the options are to modify the engine or try to add our own icons in the fonts. I hope Unreal will add this feature in the future, because I think is very usefull.

By the way, thank you very much for your time.

No problem, I wish they’ll add some feature for this too (we need a lot of thing before this), have a good day!