I have a rectangle, inside of that a TImage with wrap mode set to Fit.

I have a rectangle, inside of that a TImage with wrap mode set to Fit. Bellow the rectangle I have a splitter. Now I need to avoid the image get shrink to less the rectangle width.
When the splitter is moved above it will shrink the rect size, the image gets smaller and proportional, thats good, but I need to stop before visual size of the image gets smaller than the rect width.
Problem is that I cannot get the "real" image size comparing to the rectangle.

Comments