title: SwiftUI Text not shrinking with .fixedSize()
body: <p>I'm working on an app with a piece of large text with buttons underneath which I want to take up the same width as the text. My solution is to use a <code>VStack</code> with the <code>.fixedSize()</code> modifier:</p>
  <pre><code>VStack {
      Text(viewModel.timeString)
          .animation(nil)
          .minimumScaleFactor(0.1)
          .lineLimit(1)
          .font(.system(size: 100, design: .monospaced))
          .padding(.vertical, -20)
      TimerActionsCompact(viewModel: viewModel) // the 3 buttons
  }
  .fixedSize()
  </code></pre>
  <p>This produces the result I want:</p>
  <p><a href="https://i.stack.imgur.com/CW6aH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CW6aH.png" alt="enter image description here" /></a></p>
  <p>However, when the text becomes too big, it just goes off the screen instead of shrinking, even though I have <code>minimumScaleFactor</code> and <code>lineLimit</code> set.</p>
  <p>I found that the problem was <code>.fixedSize()</code>, and removing it causing the text to shrink properly.</p>
  <p>Am I doing something wrong, or could this be a bug with swiftUI? If so is there any workaround?</p>
  <p>Thanks!</p>