1. Create a form with TImage
ImageName : not definied
Dock : dtFill
Center : true;
Stretch : true
2. Add a button to set ImageName property at run time
3. Run and click button
Image is displayed in the TImage control, centred but not stretched
<< Image is displayed in the TImage control, centred but not stretched >>
I'm not sure why I did so, but I specifically coded it so that docked TImage
controls won't stretch. I think I was confusing auto-sizing with
stretching.
I'll make sure that this is fixed in the next build.