I recommend all macOS developers check out @marioguzman's Layout Guidelines. I just came across them myself, really useful.

Generally I just eyeball these sorts of layouts and try to make them "feel" right, much nicer to have some actual rules and why's and how's.

https://marioaguzman.github.io/design/layoutguidelines/

Layout Guidelines

Learn fundamental Mac layout principles of center equalization, text and control alignment, and visual balance.

Mario Guzman