[Lazarus] LCL High-DPI request for help adding images

Ondrej Pokorny lazarus at kluug.net
Wed Feb 22 09:08:08 CET 2017


On 22.02.2017 8:37, Torsten Bonde Christiansen via Lazarus wrote:
> How do i use icon scaling for user project?

The LCL doesn't offer an automatic feature for that. You have to do it 
yourself - use different image lists for different scaling or load 
external images in the wanted scaling. The IDE does the same.

I don't know if an automatic solution (one multi-resolution image list) 
is even possible - because e.g. some Win32 controls require usage of the 
Win32-native imagelist.

Ondrej


More information about the Lazarus mailing list