✅ Solved: Background box won’t hug centered text

Hi everyone!
I’m creating a headline component where the end user will input their own text. Behind the text, there’s a solid background box with a sharp shadow – all part of the visual design.

The layout itself is no problem to build, but I’m running into an issue:

I want the background to hug the text dynamically and expand from the center, not just one side.
I’ve centered the text, but the background doesn't follow – it keeps resizing from the left (or right) edge, not from the middle.

I've attached a short screen recording to demonstrate the issue,
and included a .rev file of the project in case anyone wants to open it and take a look.

Has anyone solved this before or found a good way to get dynamic, center-growing text boxes?

Thanks in advance!

headline.mp4


headline.rev