Automatic Resize of Image and Text inside a Button in Perspective

I have a button in perspective which contains a text and an image. The problem is that when I resize the emebedded view, the button itself shrinks but the image and the text do not shrink. I attach an screenshot of the configuration for the button


For the text, use CSS calc() for this. Put it in the textStyle of the label as fonSize.

calc(0.25*(1vh + 1vw)) 

vh = view Height
vw = view Width

I'm not sure if this will work on the image though.