There is no one "right" way of doing this stuff. Just recommendations and personal preference. I have my own likes - trying to keep box caps to 3 row spacing is one. They fit into a 3 row space with no bending of leads so that's how I try to keep it. A gap of two is ok in a pinch because you can hide the bent lead under the cap as long as the cap has space to go in between other components. Sometimes I have to put a cap over 4 rows and it bothers my OCD. So when there is a cap and resistor in parallel I never know whether to make the cap go 4 rows or the resistor 3 rows (which I also avoid). But sometimes these tough decisions must be made.