On 09.12.2016 9:51, Michael Van Canneyt wrote:
Will this be so for all forms in the project, or just the form(s) that I opened ?

Only the forms you opened.

I want to determine whether all forms will be at the same DPI or not.

No, they will be not. Every form/frame has the property "DesignTimePPI" that stores the value at which the form/frame was designed.

On 09.12.2016 9:53, Graeme Geldenhuys via Lazarus wrote:
On 2016-12-09 08:47, Ondrej Pokorny via Lazarus wrote:
The forms will be rescaled correctly. I.e. the IDE designer itself is
DPI aware.
Does it now finally store the "designed dpi value" in the *.lfm files
(like Kylix did)? Otherwise if I run at 130 dpi and design a form, and
somebody else runs at 96 dpi and opens that same designed form (or other
way round) it normally means the form is f**ked.

Yes, the property is named DesignTimePPI.

On 09.12.2016 9:55, Graeme Geldenhuys via Lazarus wrote:
On 2016-12-09 08:51, Michael Van Canneyt via Lazarus wrote:
Will this be so for all forms in the project, or just the form(s) that I opened ?
A very good question! Also, what dpi value does the IDE default to, for
older  projects? Does it always assume the original forms were designed
at 96 dpi, or is there a place in Project Options (or a global IDE wide
setting) where you can specify the original designed dpi value as a
default starting point?

It always defaults to 96 PPI.

Ondrej
-- 
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to