From: Daniel Piechnick
Hi Dick. Which button are you referring to? If you want to remove white space around an object in Photoshop, Ctrl+Click on your biggest layer in the layers list, to select it, then click Image > Crop. This will work as long as your button is rectangular and doesn't have a shadow.