how to fix a 1/4 inch gap between the tub spout and the wall
It looks like your pipe is not coming out of the wall perpendicular to the wall. Since this is copper you may be able to square the nipple so it will not hit on the bottom like it is doing now.