[Lazarus] LCL High-DPI
Ondrej Pokorny
lazarus at kluug.net
Fri Feb 24 12:05:57 CET 2017
On 22.02.2017 23:18, Michael Van Canneyt via Lazarus wrote:
> On Mon, 20 Feb 2017, Ondrej Pokorny via Lazarus wrote:
>
>> I'd like to announce that I finished the concept of DPI scaling in
>> Lazarus / LCL.
>>
>> It's quite easy for the programmer. Documented here:
>> http://wiki.lazarus.freepascal.org/High_DPI (details are in "High DPI
>> in Lazarus 1.7 and above").
>>
>> 1.) I made the Lazarus IDE High-DPI aware - the IDE itself and its
>> windows should scale correctly.
>
> I have tried this. I see no effect whatsoever ?
>
> I have even specially opened 2 IDEs. One which is more than a year
> old, and
> the newly compiled one. They look identical.
>
> I checked, and I found
> Application.Scaled := True;
> in the sources.
>
> I checked dpi, xrdb reports DPI 192.
Create an empty LCL application and check the TForm.DesignTimePPI
property. What value does it show?
Ondrej
More information about the Lazarus
mailing list