You’re probably after a double overlay:
The outer overlay is flagged as Size To Content, this desired size is provided by the inner overlay being stretched by the text box. The image and button are set to Fill and simply conform.
This will not work too well if the image is larger than the text. Hopefully that’s not an issue, do tell if it is.
