title: TImage does not resize
body: <p>I have a <code>TImage</code> on a resizable Form, and I want it to resize when I resize the Form.</p>
  <p>What I tried:</p>
  <ul>
  <li>enabling all <code>Anchors</code> options</li>
  <li>putting the <code>TImage</code> on a <code>TPanel</code>, and then setting both Panel and Image alignments to <code>alClient</code></li>
  <li>Assigning new <code>Width</code> and <code>Height</code> in the Form's <code>OnResize</code> event</li>
  </ul>
  <p>None of these does the job.</p>
  <p>This is the default Form size. The <code>TImage</code> gets redrawn whenever any of the parameters on the left change, or if the image is zoomed in/out (using the mouse scroll wheel). On each redraw, the pattern repeats until it fills the full <code>TImage</code>.</p>
  <p><a href="https://i.stack.imgur.com/4dVyW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4dVyW.png" alt="image" /></a></p>
  <p>And this is the Form after resizing. Notice that the image size remains unchanged.</p>
  <p><a href="https://i.stack.imgur.com/TdjT4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TdjT4.png" alt="image" /></a></p>
  <p>Enabling the <code>Stretch</code> property does work, but it also scales the image's content, which I don't want.</p>
  <p>How can I fix this?</p>
  <p>I'm on Delphi 10.3</p>