I forgot: you will probably want to use TImageList.OnGetWidthForPPI so that the original resolution 32px is used for 20px images on 150% instead of 30px (20*1.5 = 30). See the examples/imagelist_highdpi_designtime demo.

Ondrej
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to