Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

alt text

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.

Product Version: UE 4.12
icon_multiline.jpg (17.4 kB)
more ▼

asked Aug 17 '16 at 03:23 PM in Blueprint Scripting

avatar image

2 1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.


  • 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->


  • 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=> https://en.wikipedia.org/wiki/Geometric_Shapes 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!


more ▼

answered Aug 17 '16 at 06:20 PM

avatar image

Xosh project
366 3 6 15

avatar image Lithdara Aug 18 '16 at 07:30 AM

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.

avatar image Xosh project Aug 23 '16 at 04:20 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question