In Preferences there are a few switches in listbox rows with a spinbutton next to them:
These really need a margin between the switch and the next UI element, I'd suggest 12px.