title: SwiftUI: how to get rid of Segmented Control text movement when an alert is shown?
body: <p>In a small sample SwiftUI app, I have a settings view that shows a couple of option selections, implemented as segmented controls. The text in these segmented controls visibly moves when an alert is presented or dismissed. Is there a way to get rid of this glitch?</p>
  
  <p>Paste this in a Playground to reproduce:</p>
  
  <pre><code>import SwiftUI
  import PlaygroundSupport
  
  struct FlickeringSegmentsView: View {
      @State var option = 0
      @State var alerting = false
  
      var body: some View {
          VStack(alignment: .center, spacing: 120) {
              Picker("options", selection: $option) {
                  Text("Option A").tag(0)
                  Text("Option B").tag(1)
              }
              .pickerStyle(SegmentedPickerStyle())
              .padding(16)
  
              Button(action: { self.alerting.toggle() },
                     label: { Text("Show Alert") }
              )
              .alert(isPresented: $alerting) {
                  Alert(title: Text("Alert"))
              }
          }
      }
  }
  
  PlaygroundPage.current.setLiveView(FlickeringSegmentsView())
  </code></pre>