I had this same problem on my old wall mounted sink, the horizontal distance from the wall to the tail pipe was too short for any p-trap and the wall pipe was completely centered so offsetting the trap was impossible.
I did find a solution that was to install a "bottle trap" which allowed for...