[Lazarus] High DPI ?

Ondrej Pokorny lazarus at kluug.net
Sat Aug 5 14:47:42 CEST 2017


On 05.08.2017 14:16, Michael Van Canneyt via Lazarus wrote:
> How can I check that the IDE has actually enabled/activated HDPI and uses
> big icons/button images?

Check for Application.Scaled := True in lazarus.pp. This enables Hi-DPI 
features.

---

Another problem could be that the widgetset sends wrong PPI value to 
LCL. So check for Screen.PixelsPerInch (96 = 100%). If you build Lazarus 
with Gtk2, you could be affected by this WS-bug: 
https://mantis.freepascal.org/view.php?id=31199

Ondrej


More information about the Lazarus mailing list