mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-04 22:21:23 +12:00
fixed #977: Blank space issue
This commit is contained in:
parent
cba52f00f4
commit
33c75fc8f2
|
@ -23,28 +23,16 @@
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ShareX.HelpersLib
|
||||
{
|
||||
public class BaseForm : Form
|
||||
public abstract class BaseForm : Form
|
||||
{
|
||||
protected BaseForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
SuspendLayout();
|
||||
AutoScaleDimensions = new SizeF(6F, 13F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(300, 300);
|
||||
Icon = ShareXResources.Icon;
|
||||
Name = "BaseForm";
|
||||
Text = "ShareX";
|
||||
ResumeLayout(false);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -365,7 +365,7 @@ private void cbSteamShowInApp_CheckedChanged(object sender, EventArgs e)
|
|||
File.Delete(path);
|
||||
}
|
||||
|
||||
MessageBox.Show("For settings to take effect ShareX need to be reopened from Steam.", "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
MessageBox.Show("For settings to take effect ShareX needs to be reopened from Steam.", "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue