You can find options for the default gaps at the start and end of horizontal lines, and between horizontal lines and other items, on the Lines page in Engraving Options.
The options are accompanied by diagrams to help you visualize how they affect the appearance of your music.