Window & Door Trim, Dealing with a Gap

This thread from yesterday is but a small variation on your theme. You might find some inspiration there.