I don’t think this is possible in Gutenberg for the gallery block.
There still isn’t a unified way to modify these types of settings for blocks either (the panel, typically on the right-side of a desktop screen, is collectively called the Inspector Controls)