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:
@ -265,10 +265,10 @@ procedure TfrmSQLhelp.FormDestroy(Sender: TObject);
|
||||
begin
|
||||
AppSettings.WriteInt(asSQLHelpWindowLeft, Left );
|
||||
AppSettings.WriteInt(asSQLHelpWindowTop, Top );
|
||||
AppSettings.WriteInt(asSQLHelpWindowWidth, Round(Width / DpiScaleFactor(Self)));
|
||||
AppSettings.WriteInt(asSQLHelpWindowHeight, Round(Height / DpiScaleFactor(Self)));
|
||||
AppSettings.WriteInt(asSQLHelpPnlLeftWidth, Round(pnlLeft.Width / DpiScaleFactor(Self)));
|
||||
AppSettings.WriteInt(asSQLHelpPnlRightTopHeight, Round(memoDescription.Height / DpiScaleFactor(Self)));
|
||||
AppSettings.WriteInt(asSQLHelpWindowWidth, Width);
|
||||
AppSettings.WriteInt(asSQLHelpWindowHeight, Height);
|
||||
AppSettings.WriteInt(asSQLHelpPnlLeftWidth, pnlLeft.Width);
|
||||
AppSettings.WriteInt(asSQLHelpPnlRightTopHeight, memoDescription.Height);
|
||||
SqlHelpDialog := nil;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user