I have a sprite that is nested inside a button. The button itself has a sprite that acts as a frame for a profile image (the sprite nested inside it). This allows me to swap out the inner profile image on demand without changing the outer frame.
The problem is that there seems to be no tool in the editor that is capable of resizing this setup. The rect tool resizes the button with the frame sprite just fine, but doesn’t resize the nested sprite at all. The scale tool also resizes the button, but causes the nested sprite to disappear because it’s changing the Z scale (this is a 2D scene). I tried using layout groups and content size fitters, but neither work.
The only way I’ve found to resize both the button and the nested sprite is to manually change the X and Y scale values in the inspector. Surely there’s an easier way?
EDIT: Here is the sprite in the inspector: