proof of concept - add these attributes to custom control values that hard code an base property that would otherwise be settable by the designer
This commit is contained in:
parent
458dd22eb8
commit
69ad9050d2
BizHawk.Client.EmuHawk/CustomControls
|
@ -1,9 +1,13 @@
|
|||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace BizHawk.Client.EmuHawk.CustomControls
|
||||
{
|
||||
public class AutosizedLabel : Label
|
||||
{
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
public override bool AutoSize => true;
|
||||
|
||||
public AutosizedLabel() : base() {
|
||||
|
|
Loading…
Reference in New Issue