[Lazarus] LCL High-DPI

Michael Van Canneyt michael at freepascal.org
Wed Feb 22 23:18:41 CET 2017

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.

Linux Mint 18.1, 64-bit, GTK 2 widgetset.

Any hints ?


More information about the Lazarus mailing list