[Lazarus] changing DPI values and Lazarus Forms Designer

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Tue Oct 6 14:06:01 CEST 2015


Hi,

Why doesn't Lazarus write the TCustomForm.DesignedDPI value to the LFM
files (like Delphi or Kylix does)? Currently that property is public,
not published.

The problem being that say forms were designed at 96dpi (could be
anything really), and then opened by other developers that run 72, 140,
200 dpi etc, the forms are screwed (mostly). Because DesignedDPI is not
written to the LFM file, the Form Designer has no idea how to
scale/adapt the form for further modifications.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp




More information about the Lazarus mailing list