Add spacers in your OSX dock

Run this command in the terminal to add a spacer

[email protected] $ defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'

and restart the dock by running

[email protected] $ killall Dock