Fix controllerconfig display issue on mono
- closes #4376 Yeah I have no idea why or what
This commit is contained in:
parent
815bf95d24
commit
4eec7acaab
|
@ -2,6 +2,8 @@ using System.ComponentModel;
|
|||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using BizHawk.Common;
|
||||
|
||||
namespace BizHawk.WinForms.Controls
|
||||
{
|
||||
/// <inheritdoc cref="Docs.SingleRowOrColFLP"/>
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue