Skip to content

Commit 1619b33

Browse files
committed
Fix overlapping/duplicate controls in FirmwaresConfig's menu on Mono
1 parent a80dbfa commit 1619b33

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/BizHawk.Client.EmuHawk/config/FirmwaresConfig.cs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,13 @@ private void FirmwaresConfig_Load(object sender, EventArgs e)
214214

215215
_cbAllowImport = new CheckBox
216216
{
217-
Text = "Allow Importing of Unknown Files"
218-
, BackColor = Color.Transparent
219-
, CheckAlign = ContentAlignment.MiddleLeft
220-
, TextAlign = ContentAlignment.MiddleLeft
221-
, Font = new Font("Segeo UI", 9, FontStyle.Regular, GraphicsUnit.Point, 1, false)
222-
, Checked = false
217+
Text = "Allow Importing of Unknown Files",
218+
BackColor = SystemColors.Control,
219+
CheckAlign = ContentAlignment.MiddleLeft,
220+
TextAlign = ContentAlignment.MiddleLeft,
221+
Font = new Font("Segeo UI", 9, FontStyle.Regular, GraphicsUnit.Point, 1, false),
222+
Checked = false,
223+
Size = new Size(230, 22),
223224
};
224225
ToolStripControlHost host = new ToolStripControlHost(_cbAllowImport);
225226
toolStrip1.Items.Add(host);

0 commit comments

Comments
 (0)