Not to nit pick on you but the piece of pipe between your p-trap and tee must be 4" long to meet code. The length of a trap arm must be at lease double the diameter of the pipe.
's done, but one way to accomplish that is to rotate the santee out from let's say it's 9 o'clock position to about 7 o'clock and rotate the trap out. it will give you a little longer trap arm