title: Remove left padding in SwiftUI NavigationView with Form and Picker
body: <p>I'm new to Swift and trying to add a photo picker to a NavigationView. It seems to work fine except for I can't seem to get rid of the left padding around the Image and get it centered. I have read that using a List instead of Form with &quot;.listStyle(GroupedListStyle())&quot; fixes the issue, but that only fixes it for the padding of the picker and not for the second view with the Image. At this point I've tried many things to no avail and would appreciate some pointers.</p>
  <pre><code>var body: some View {
      GeometryReader { geo in
          NavigationView {
              Form {
                  Picker(&quot;Backgrounds&quot;, selection: $currentBackground) {
                      TabView  {
                                  // Image goes here
                                  Image(..) 
                              }
  
                          }
                          .tabViewStyle(PageTabViewStyle())
                          .indexViewStyle(PageIndexViewStyle(backgroundDisplayMode: .always))
                          .frame(width: geo.size.width, height: geo.size.height * 0.9, alignment: .center)
                          .navigationBarTitleDisplayMode(.inline)
  
                          .border(.blue, width: 1)
                  }
              }
              .navigationBarTitle(&quot;Settings&quot;, displayMode: .inline)
              .navigationBarItems(leading: cancel, trailing: done)
          }
          .navigationViewStyle(StackNavigationViewStyle())
      }
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/Km5ve.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Km5ve.jpg" alt="enter image description here" /></a></p>