title: UITextField shrinks text before necessary
body: <p>I have a <code>UITextField</code> for which I've set <code>autoAdjustFontSizeToFitWidth</code> to <code>true</code> and <code>minimumFontSize</code> to <code>0</code>. The problem is the setting shrinks the text noticeably sooner than it really should. For example, here is an image of a <code>UITextField</code> with the above settings:</p>
  <p><a href="https://i.stack.imgur.com/rI4HS.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rI4HS.jpg" alt="enter image description here" /></a></p>
  <p>The green is the background color of the <code>UITextField</code>. In this example, the text has not shrunk yet, but no matter what I type as the next character the text field always begins shrinking; despite clearly being enough room on the left side for a few more characters. Here is another image with additional characters entered:</p>
  <p><a href="https://i.stack.imgur.com/E6rX0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E6rX0.jpg" alt="enter image description here" /></a></p>
  <p>As you can see, there is a relatively large area on the left side that the text field won't place text in when auto adjusting. This is for a right aligned text field. The same can be said of center aligned text fields as well, where there is space on the left <em>and</em> right that seems as if an auto adjusting text field won't place text inside.</p>
  <p>How do I get it so that auto adjusting text fields use the entire available space?</p>