title: How best way to resize textfield to fit all text
body: <p>I got a textField (html text) that is very dynamic, and I have to resize the box to fix it and calculate the space occupied. I'm using...</p>
  
  <pre><code>myTextField.height = myTextField.textHeight;
  </code></pre>
  
  <p>But the result is not very precise, even the Adobe description says that is not. There is a better way to do it? There is some "auto resize" propriety of this class? And for the last: what is the purpose of this "textHeight" if it doesn't provide the real text height? </p>