When I resize an image button, the image used for the button becomes stretched out and looks awful. What is the proper way to resize an image button so that the image does not become distorted around the corners and edges?
Apple's AppKit and UIKit frameworks have a solution for this, where you can specify the resizable portions of an image asset, so that when it is stretched, only the middle part of the image is stretched.