diff options
Diffstat (limited to 'src/GraphicObjects/RadioButton.cs')
| -rw-r--r-- | src/GraphicObjects/RadioButton.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/GraphicObjects/RadioButton.cs b/src/GraphicObjects/RadioButton.cs index 9d7ef83e..245fd2b2 100644 --- a/src/GraphicObjects/RadioButton.cs +++ b/src/GraphicObjects/RadioButton.cs @@ -30,11 +30,16 @@ namespace go {
base.loadTemplate (template);
- _caption = this.child.FindByName ("Caption") as Label;
+ _caption = this.child.FindByName ("Caption") as Label;//TODO:should use bindings instead
_image = this.child.FindByName ("Image") as Image;
_image.SvgSub = "unchecked";
}
-
+
+ [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
{
|