[Lazarus] New Image Lists question

Ondrej Pokorny lazarus at kluug.net
Wed May 23 19:23:41 CEST 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180523/5aef75a9/attachment.html>


More information about the Lazarus mailing list