Showing String vertically using textbox instead of horizontal in UI widget

I am creating the UI widget in which i am creating a string form button click. I am storing the string in a string list. I want to dynamically instantiate text box in the widget on the button click on the screen in vertical alignment. How do i do this?

Do you really need to instantiate a textbox at runtime? If not, then just create the textbox in the widget without any text. It will be invisible untill you add some text to it. It makes life just a little bit easier :wink: (You can change the alignment to vertical under Transform → Angle)

I can do with single text box as well, but i dont find how can i display each word of the string in a new line.

For example is string is like: “Hello Wolrd! unreal is awesome”
I want it to display like:
Hello
World!
unreal
is
awesome

Just the difference is user is not giving the text string he is just clicking on some buttons from list of available buttons. And i want the same text that on button to be displayed in the text box as well.

Or if you could just tell if on clicking on a particular button how can i add a new text box in the HUD at desired location. That would do…

I want to dynamically instantiate text
box

You can’t for now, unless you’re do it from C++


i dont find how can i display each
word of the string in a new line

Use Parse Into Array


Hope it’ll help you out