aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Checkbox.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GraphicObjects/Checkbox.cs')
-rw-r--r--src/GraphicObjects/Checkbox.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/GraphicObjects/Checkbox.cs b/src/GraphicObjects/Checkbox.cs
index f6b7bae3..863cae0c 100644
--- a/src/GraphicObjects/Checkbox.cs
+++ b/src/GraphicObjects/Checkbox.cs
@@ -25,7 +25,7 @@ namespace go
public Checkbox() : base()
{
}
-
+
protected override void loadTemplate(GraphicObject template = null)
{
base.loadTemplate (template);
@@ -64,6 +64,11 @@ namespace go
}
}
+ [XmlAttributeAttribute()][DefaultValue(-1)]
+ public override int Height {
+ get { return base.Height; }
+ set { base.Height = value; }
+ }
[XmlAttributeAttribute()][DefaultValue(true)]//overiden to get default to true
public override bool Focusable
{