title: Make a SwiftUI button with style .bordered expand to full width
body: <p>I'm trying to make a SwiftUI button with <code>.buttonStyle(.bordered)</code> have the full width of the VStack it's in. Here's my button code:</p>
  <pre class="lang-swift prettyprint-override"><code>Button(&quot;Save&quot;, action:saveUser)
      .frame(maxWidth:.infinity)
      .buttonStyle(.borderedProminent)
  </code></pre>
  <p>In the preview, I can see the actual frame is the full width of its container, but the background provided by the buttonStyle is not:</p>
  <p><a href="https://i.stack.imgur.com/UWMlm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UWMlm.png" alt="Button background is not full width" /></a></p>
  <p>How can I make the border provided the button style also be full width?</p>