Sign in Join

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

Mailing lists / lazarus / 2017-02

Hi-DPI property

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Alexey

Maybe add ApplicationProperties.nnnnn property, for new feature-

Enable LCL scaling for your application DPI awarness in Project

Options -> Application -> "Use LCL scaling (Hi-DPI).

?

Regards, Alexey

Reply by email

Ondrej Pokorny
to Alexey
Alexey wrote
Maybe add ApplicationProperties.nnnnn property, for new feature- >Enable LCL scaling for your application DPI awarness in Project Options -> Application -> "Use LCL scaling (Hi-DPI).

I forgot about that. I'll check if it makes sense - usually you should set the appropriate value to Application.Scaled before creating any forms. I am not sure it will work reliably when it is changed during loading of a form.

Ondrej

Reply by email