[Lazarus] New high DPI features in 1.7
lazarus at kluug.net
Sat Dec 10 00:07:27 CET 2016
On 09.12.2016 23:34, Ondrej Pokorny via Lazarus wrote:
>> My forms load, then get scaled.
>> I have checked property of form and Scaled is unchecked False;
>> The scaling makes my form hard to read and even harder to edit; I am
>> using 3rd party controls and some fonts are not scaled.
>> How can I disable this feature, I have my own scaling routines that
>> manipulate the controls and underlying fonts etc at runtime and scale
>> perfectly, also my scaling routines also auto add extra controls as
>> the screen area increases.
>> I like the idea for a new project; but I would need this de-activated
>> to continue developing current and previous applications.
>> Question why are my forms scaling when opening them, even though they
>> were not designed for this feature. This is scarey.
> Because your system uses 72 PPI. Unfortunately the IDE uses 96 PPI as
> default for legacy projects and thus scales it. I see it as major
> issue and I'll come up with a solution.
Does r53623 help you? Forms with Scaled=False shouldn't be automatically
scaled in designtime - that was obviously a mistake from myself.
More information about the Lazarus