I’m creating a spell system, and i want to show the spell info when mouse is hovering the spell on the spell book.
This is roughly what it looks like:

However, the info you see there is 100% pre-defined, i wrote that on the hud, and this is my problem.
I want the box to resize acording to the text to fit it perfectly, just like i’ve set on this description.
But i have no idea in how to do that.
Next screenshot is how i’ve done the spell hover info.
