The default Gallery Width is Full width. To center the gallery within a maximum width instead, change Gallery Width to Fixed width.
This setting can be found under the Default View Settings, as well as in the settings for each individual view, if they're set to use custom view settings (in the View Type section of the View's settings).