title: Truncate text in label
body: <p>I am trying to use "Truncate Middle" on a single line label. I checked "Uses Single Line Mode", set Layout to "Truncates" and Line Break to "Truncate Middle" and I've set the Preferred width of the text field to "First Runtime Layout Width" and Content Hugging Priority to 250.</p>
  
  <p>Here's my layout with the &lt;Title&gt; label on which I am trying to enable the truncation:
  <a href="https://i.stack.imgur.com/09dy6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/09dy6.png" alt="layout"></a></p>
  
  <p>In my ViewController:</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
      // Do any additional setup after loading the view.
      titleLabel.stringValue = "This is a very very long title that should be truncated because it would enlarge the window unnecessary!"
  }
  </code></pre>
  
  <p>It does not work, the window is enlarged to show the complete title and the user can't reduce its width.</p>
  
  <p>Strangely, if I change the layout and line break from "Truncates"/"Truncate Middle" to "Wraps"/"Character Wrap", it works fine, but without the middle truncation.</p>
  
  <p><a href="https://i.stack.imgur.com/2RDYX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2RDYX.png" alt="screenshot with wrap"></a></p>
  
  <p>I am expecting truncate to work like this:</p>
  
  <blockquote>
    <p>This is a very very long text...rge the window unnecessary!</p>
  </blockquote>
  
  <p>Maybe I'm missing something?</p>
  
  <p><strong>EDIT:</strong> Here's the sample project to test the issue: <a href="https://nofile.io/f/9s9OJXHaaw1/TestTruncate.zip" rel="nofollow noreferrer">https://nofile.io/f/9s9OJXHaaw1/TestTruncate.zip</a></p>