FirmwareConfigs: small fix

This commit is contained in:
Asnivor 2018-09-21 17:45:23 +01:00
parent 84eea580c2
commit 3273d37ce5
1 changed files with 1 additions and 2 deletions

View File

@ -183,12 +183,11 @@ namespace BizHawk.Client.EmuHawk
cbAllowImport = new CheckBox(); cbAllowImport = new CheckBox();
cbAllowImport.Text = "Allow Importing of Unknown Files"; cbAllowImport.Text = "Allow Importing of Unknown Files";
//cbAllowImport.CheckStateChanged += (s, ex) => this.Text = cbAllowImport.CheckState.ToString();
cbAllowImport.BackColor = Color.Transparent; cbAllowImport.BackColor = Color.Transparent;
cbAllowImport.CheckAlign = ContentAlignment.MiddleLeft; cbAllowImport.CheckAlign = ContentAlignment.MiddleLeft;
cbAllowImport.TextAlign = ContentAlignment.MiddleLeft; cbAllowImport.TextAlign = ContentAlignment.MiddleLeft;
cbAllowImport.Font = new Font("Segeo UI", 9, FontStyle.Regular, GraphicsUnit.Point, 1, false); cbAllowImport.Font = new Font("Segeo UI", 9, FontStyle.Regular, GraphicsUnit.Point, 1, false);
//cbAllowImport.AutoSize = false; cbAllowImport.Checked = false;
ToolStripControlHost host = new ToolStripControlHost(cbAllowImport); ToolStripControlHost host = new ToolStripControlHost(cbAllowImport);
var iCount = toolStrip1.Items.Count; var iCount = toolStrip1.Items.Count;
toolStrip1.Items.Insert(iCount - 2, host); toolStrip1.Items.Insert(iCount - 2, host);