Try fiddling with the high dpi support settings? Otherwise I can't explain this.got same result
I think more code needs to be shown here...
I would guess that maybe PPI's Are different between the PC's and size calculation is done incorrectly also for centering the image.
Like I said before, there is nothing wrong. The problem is your Windows 10 machine has a higher
Dot per Inch setting and there is more pixel space to show it. Plus you most likely are using the scaling in the Themes..
Try setting the Stretch Property to true, it should fit in all cases after that.
The only issue with that is if you roll your mouse over it, you will need to calculate the width rectangle verses the width of the image in the picture property because the two do not share the same size.. One is the width on the screen while the in the Picture property, that is the width of the actual image in memory.
I think i must change Windows,this windows 10 not support Lazarus nicely ::)Nonsense!