title: iOS Auto Layout for Columns of Variable Width Labels
body: <h2>The Goal</h2>
  
  <p>I am trying to achieve the following design with auto-layout constraints:</p>
  
  <p><img src="https://i.stack.imgur.com/dEAi3.png" alt="enter image description here"></p>
  
  <h2>What I've Tried</h2>
  
  <p>The middle label is straightforward (<em>Horizontally Center</em> to view).</p>
  
  <p>The left and right labels are not as straightforward. Simply adding <em>Leading</em> and <em>Trailing Space</em> constraints of 20 will not work for all content. Furthermore, the detail label underneath can be wider.</p>
  
  <p>I thought about give the right and left labels both <em>Leading</em> and <em>Trailing Space</em> constraints of >= 20 and centering the text.</p>
  
  <h2>The Question</h2>
  
  <p>How can I achieve this column layout of 3 labels with dynamic content while:</p>
  
  <ul>
  <li>ensuring they have at least 20pt of padding between each other</li>
  <li>ensuring the left and right labels are inset more than 20pts for smaller content</li>
  </ul>