AutoSize Greenshot forms

Set AutoSize to true to ensure forms are properly displayed.
Fixes #2406.
This commit is contained in:
campbeb 2017-04-09 19:35:52 -04:00
parent 47166451e6
commit 0a422ac35c
6 changed files with 6 additions and 0 deletions

View file

@ -188,6 +188,7 @@ partial class AboutForm {
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoSize = true;
this.ClientSize = new System.Drawing.Size(530, 293);
this.Controls.Add(this.lblTranslation);
this.Controls.Add(this.linkLabel1);

View file

@ -232,6 +232,7 @@ private void InitializeComponent()
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoSize = true;
this.ClientSize = new System.Drawing.Size(292, 218);
this.Controls.Add(this.pipette);
this.Controls.Add(this.btnApply);

View file

@ -201,6 +201,7 @@ partial class DropShadowSettingsForm {
this.AcceptButton = this.buttonOK;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.CancelButton = this.buttonCancel;
this.ClientSize = new System.Drawing.Size(230, 144);
this.ControlBox = false;

View file

@ -145,6 +145,7 @@ private void InitializeComponent()
this.AcceptButton = this.btnOK;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(330, 186);
this.Controls.Add(this.cbMaximizeWhenLargeImage);

View file

@ -142,6 +142,7 @@ partial class ResizeSettingsForm {
this.AcceptButton = this.buttonOK;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.CancelButton = this.buttonCancel;
this.ClientSize = new System.Drawing.Size(244, 122);
this.ControlBox = false;

View file

@ -388,6 +388,7 @@ partial class TornEdgeSettingsForm {
this.AcceptButton = this.buttonOK;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.CancelButton = this.buttonCancel;
this.ClientSize = new System.Drawing.Size(454, 224);
this.ControlBox = false;