ImageHistory DPI issue fixed and tested

This commit is contained in:
Michael Delpach 2020-07-11 13:26:42 +08:00
parent 6bcb9e67ea
commit d641973446
2 changed files with 4 additions and 2 deletions

View file

@ -151,7 +151,8 @@ private void InitializeComponent()
// ImageHistoryForm
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.BackColor = System.Drawing.SystemColors.Window;
this.Controls.Add(this.tscMain);
this.KeyPreview = true;

View file

@ -119,7 +119,8 @@ private void InitializeComponent()
// ImageHistorySettingsForm
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.BackColor = System.Drawing.SystemColors.Window;
this.Controls.Add(this.cbFilterMissingFiles);
this.Controls.Add(this.cbRememberSearchText);