title: In SwiftUI, How do I increase the height of a button?
body: <p>As you can see in the screenshot, the button height does not adjust to fit the text size, making it look ugly. How can I increase the hight of the buttons, so it does not look stupid. My question is, how do I increase the height of buttons in SwiftUI? I am trying to make the titlescreen of my Minecraft-like game.</p>
  <pre><code>struct ContentView: View {
  var body: some View {
      GeometryReader { geometry in
          VStack (spacing: 8) {
              Text(&quot;[Name not disclosed]Craft&quot;).font(.system(size: geometry.size.width/8))
              Button(action: {
                  
              }) {
                  Text(&quot;Singleplayer&quot;).font(.system(size: geometry.size.width/20))
                      .frame(minWidth: geometry.size.width/2)
              }
              Button(action: {
                  
              }) {
                  Text(&quot;Multiplayer&quot;).font(.system(size: geometry.size.width/20))
                      .frame(minWidth: geometry.size.width/2)
              }
              HStack (spacing: 8) {
                  Button(action: {
                      
                  }) {
                      Text(&quot;Options&quot;).font(.system(size: geometry.size.width/20))
                          .frame(minWidth: (geometry.size.width/4)-16)
                  }
                  Button(action: {
                      exit(EXIT_SUCCESS);
                  }) {
                      Text(&quot;Quit Game&quot;).font(.system(size: geometry.size.width/20))
                          .frame(minWidth: (geometry.size.width/4)-16)
                  }
              }
          }
      }
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/AbEr9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AbEr9.png" alt="Not nicely looking window" /></a></p>