Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-10

Hi-DPI for own components

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vojtěch Čihák

Hi, if I want hi-DPI for my own components, it is enough to draw two additional icons with suffix _150 and _200 and bundle it to package?  
Thanks, V.

Reply by email

R0b0t1
to Vojtěch Čihák
Vojtěch Čihák wrote
Hi, if I want hi-DPI for my own components, it is enough to draw two additional icons with suffix _150 and _200 and bundle it to package? Thanks, V.

If the LCL handles asset selection for you, yes. But I don't remember seeing that - you may need to select the appropriate icon at runtime yourself.

Cheers,
R0b0t1

Reply by email