title: SwiftUI Picker SegmentedStyle Image bad display
body: <p>I have a simple Picker in SegmentedStyle with two images inside:</p>
  <pre><code>@State var selectedIndex = 0
  
  @State var segmentOptions = [
      Image.carFill,
      Image.walking
  ]
  //@State var destination: Destination
  
  var body: some View {
      HStack {
          Picker(selection: $selectedIndex, label: Text(&quot;&quot;)) {
              segmentOptions[0]
                  .tag(0)
              segmentOptions[1]
                  .tag(1)
          }.pickerStyle(SegmentedPickerStyle())
          Text(&quot;test&quot;)
      }
  }
  </code></pre>
  <p>First is an Image system from SF Symbol, second is another one I imported from an asset.</p>
  <p>The display of the second image stay without padding and in a fill aspectRatio, it doesnt matter about what I put as options. Note it works perfectly while using another PickerStyle (wheel).</p>
  <p>I tried following:</p>
  <pre><code>segmentOptions[1].aspectRatio(contentMode: .fit).padding()
  </code></pre>
  <p>and</p>
  <pre><code>segmentOptions[1].resizable().aspectRatio(contentMode: .fit).padding().frame(width: 20, height: 20, alignment: .center)
  </code></pre>
  <p>And many other combinations but the result is still the same: the second image display without padding and with a fill aspectRatio.</p>
  <p>Do you have any idea on how to fix it?</p>
  <p><a href="https://i.stack.imgur.com/Cm8TA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cm8TA.png" alt="enter image description here" /></a></p>