It shouldn't be a problem if that's all that's causing it. Apart from thin Cyclo stamped sprockets, I've never seen anything that didn't give roughly 7mm between the hub shoulder and the centreline of the teeth, and I've used Shimano, Surly* and EAI. Chainline IS dependent on the brand of sprocket used, but not normally by much. What brand of sprocket is it?