Assuming the Text object is a child to the Image background, to the Image object add the components Layout - Horizontal Group and Layout - Content Size Fitter, and choose Horizontal fit - Preferred Width on the latter.
That’s great, thank you! Almost working, just have to tweak it somehow as it scales from the middle as opposed to from the right anchor outwards to the left.