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.