mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user