I was having a heck of a time with this and other things re-sizing to sizes I didn’t want. But I did finally figure it out, use an overlay.
Put the overlay in, then add a button and text as children of the overlay. Set the overlay to size to content. This will give you the result you want.