From 4eec7acaabd06c6303ad5cb1258a76fa1d86f64f Mon Sep 17 00:00:00 2001 From: Morilli <35152647+Morilli@users.noreply.github.com> Date: Sat, 28 Jun 2025 19:21:19 +0200 Subject: [PATCH] Fix controllerconfig display issue on mono - closes #4376 Yeah I have no idea why or what --- .../FLPs/SingleRowOrColFLP/LocSingleRowFLP.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/BizHawk.WinForms.Controls/FLPs/SingleRowOrColFLP/LocSingleRowFLP.cs b/src/BizHawk.WinForms.Controls/FLPs/SingleRowOrColFLP/LocSingleRowFLP.cs index 96201e2c73..22d81adaad 100644 --- a/src/BizHawk.WinForms.Controls/FLPs/SingleRowOrColFLP/LocSingleRowFLP.cs +++ b/src/BizHawk.WinForms.Controls/FLPs/SingleRowOrColFLP/LocSingleRowFLP.cs @@ -2,6 +2,8 @@ using System.ComponentModel; using System.Drawing; using System.Windows.Forms; +using BizHawk.Common; + namespace BizHawk.WinForms.Controls { /// @@ -31,7 +33,8 @@ namespace BizHawk.WinForms.Controls { base.AutoSize = true; base.AutoSizeMode = AutoSizeMode.GrowAndShrink; - base.MinimumSize = TinySize; + // for some reason this breaks stuff on mono, see #4376 + if (!OSTailoredCode.IsUnixHost) base.MinimumSize = TinySize; base.WrapContents = false; } }