Fix TI83Keypad being cut off under Mono
This commit is contained in:
parent
af78507bc7
commit
55a60ceda7
|
@ -1,12 +1,15 @@
|
||||||
using System;
|
using System;
|
||||||
|
using System.Drawing;
|
||||||
|
|
||||||
using BizHawk.Client.Common;
|
using BizHawk.Client.Common;
|
||||||
using BizHawk.Client.EmuHawk.Properties;
|
using BizHawk.Client.EmuHawk.Properties;
|
||||||
|
using BizHawk.Common;
|
||||||
using BizHawk.Emulation.Cores.Calculators.TI83;
|
using BizHawk.Emulation.Cores.Calculators.TI83;
|
||||||
using BizHawk.Emulation.Common;
|
using BizHawk.Emulation.Common;
|
||||||
|
|
||||||
namespace BizHawk.Client.EmuHawk
|
namespace BizHawk.Client.EmuHawk
|
||||||
{
|
{
|
||||||
public partial class TI83KeyPad : ToolFormBase, IToolFormAutoConfig
|
public sealed partial class TI83KeyPad : ToolFormBase, IToolFormAutoConfig
|
||||||
{
|
{
|
||||||
[RequiredService]
|
[RequiredService]
|
||||||
// ReSharper disable once UnusedAutoPropertyAccessor.Local
|
// ReSharper disable once UnusedAutoPropertyAccessor.Local
|
||||||
|
@ -22,6 +25,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
RightButton.Image = Resources.WhiteTriRight;
|
RightButton.Image = Resources.WhiteTriRight;
|
||||||
DownButton.Image = Resources.WhiteTriDown;
|
DownButton.Image = Resources.WhiteTriDown;
|
||||||
UpButton.Image = Resources.WhiteTriUp;
|
UpButton.Image = Resources.WhiteTriUp;
|
||||||
|
if (OSTailoredCode.IsUnixHost) MinimumSize = (MaximumSize += new Size(48, 32)); // also updates current size
|
||||||
}
|
}
|
||||||
|
|
||||||
[ConfigPersist]
|
[ConfigPersist]
|
||||||
|
|
Loading…
Reference in New Issue