Giving up on high DPI readiness - remove tweaks which mostly don't work as expected, and even differently on various computers. Instead, let Windows blur fonts.

This commit is contained in:
Ansgar Becker
2019-07-18 20:53:53 +02:00
parent 2ebbdc6ba3
commit c31cae2060
21 changed files with 50 additions and 85 deletions

View File

@ -83,12 +83,12 @@ begin
Components[i].Free;
end;
Margin := Round(3 * DpiScaleFactor(Self));
Margin := 3;
MarginBig := Margin * 2;
Width1 := Round(15 * DpiScaleFactor(Self));
Width2 := Round(160 * DpiScaleFactor(Self));
Width3 := Round(23 * DpiScaleFactor(Self));
Width4 := Round(23 * DpiScaleFactor(Self));
Width1 := 15;
Width2 := 160;
Width3 := 23;
Width4 := 23;
// Set initial width to avoid resizing form to 0
TopPos := pnlBevel.BorderWidth + MarginBig;