Fix `RadioButtonEx` not getting `AutoSize = true`

This commit is contained in:
YoshiRulz 2022-05-20 04:41:25 +10:00
parent fd4771c45c
commit 8aa3f892d0
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ namespace BizHawk.WinForms.Controls
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public new Size Size => base.Size;
public RadioButtonEx() {}
public RadioButtonEx()
=> base.AutoSize = true;
public RadioButtonEx(IRadioButtonReadOnlyTracker tracker) : base(tracker) => base.AutoSize = true;
}