Hi, I am not a pro at UE4 - I’ve read lots of different similar Q+A’s and experimented endlessly without success.
My goal:
Have a text widget pop up upon clicking, and ensure that the text widget automatically enlarges to fit all the text that is input to the component.
I also have an image in the widget that serves as a backdrop, and I want this to also enlarge so it always frames the text.
Photos are attached. After no luck with Scale Box nor Size Box, I tried placing both Image and Text into a Grid Panel and ticking “size to content” for the grid panel, but you’ll notice that it doesn’t grow enough in size when I type in a lot of text.
Now, Draw at Desired Size is somewhat computationally intensive. If you update text once, it’s absolutely fine. If you print it letter by letter, it’s also fine since you’ll be doing it to 1 widget at a time, most likely.
If you want to update it every frame (perhaps you’re doing something funky and animated with the text) to many widgets, it will get costly.
Ok, hmm, good to know. What I imagine is that I will have roughly 10-15 of these in my game. Each will have it’s own static message (this is an informational tour), so the user is not interacting with the widget or changing its input. Is that computationally burdensome?