On 23.05.2018 19:18, Vojtěch Čihák via Lazarus wrote:

Thanks, I saw the demos, I see now how it works. But how can I add multiple resolution to ImageList? Is it possible only with suffixes and all images must be in the same directory? I need to push 10 resolution to one ImageList. Default res. is 16x16 and the others are 20, 24, 28, 32, 40, 48, 56, 64 and 80.

How should I do it?


Btw. for so many resolutions, I would just add 16x16 and then e.g. 128x128 or 256x256 and let the other resolutions get scaled automatically by the LCL.

If 20x20 and 24x24 shouldn't scale nicely from the high resolution, you may want to add them explicitely as well.

Ondrej
-- 
_______________________________________________
Lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to