Quote:
Originally Posted by Cesar82
I do not know what's happening to you.
Here in Full HD resolution change to 125%, 150% 175% works normal.

|
OK I'll check it out tomorrow
Ok, the case looks like this,
If I run on basic script (modified only with the statements that verify the selected components to modify files) on my PC with 100% DPI scaling it works fine, the same is after changing to 125%, 150% and 175% but
with already runned setup.
I forgot to mention, on both Desktop and Laptop I have 1980x1080 resolution, and on Laptop 125% scaling, as for Desktop 100%
If I run the setup after changing the scale to for example 125% it looks like that:
2019-03-26_09h39_27.png
so, the DPICalculator in fact does not work...
Edit:
Ok, @KaktoR, @Cesar82 Problem solved.
The Case was that in the original script there were absolute coordinates and sizes for the size of Forms etc.
Just change the absolute sizes to SizeX and SizeY values and Voila

For Example if You Have "WilkommenLabel.Width := 600" change it to "WilkommenLabel.Width := SizeX(600)", for "*.Height :=300" change to "*.Height = SizeY(300)", "Top :=" to "Top := SizeY()", "Left :=" to "Left := SizeX()".
Tested it on "WillkommenLabel" and it works.