mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
AutoSize Greenshot forms
Set AutoSize to true to ensure forms are properly displayed. Fixes #2406.
This commit is contained in:
parent
47166451e6
commit
0a422ac35c
6 changed files with 6 additions and 0 deletions
|
@ -188,6 +188,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(530, 293);
|
||||
this.Controls.Add(this.lblTranslation);
|
||||
this.Controls.Add(this.linkLabel1);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -201,6 +201,7 @@ private void InitializeComponent() {
|
|||
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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -142,6 +142,7 @@ private void InitializeComponent() {
|
|||
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;
|
||||
|
|
|
@ -388,6 +388,7 @@ private void InitializeComponent() {
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue