diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-25 14:51:07 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-25 14:51:07 +0100 |
| commit | 3cb3ae624a352b92b71a5d7cb19c05f0183f2e43 (patch) | |
| tree | 930d78bb995fda31091e420aefc0d05128d3eea8 /src/GraphicObjects/Label.cs | |
| parent | 54ff9d82e0d195bc335916b8a30a27651f830502 (diff) | |
debug
Diffstat (limited to 'src/GraphicObjects/Label.cs')
| -rw-r--r-- | src/GraphicObjects/Label.cs | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/GraphicObjects/Label.cs b/src/GraphicObjects/Label.cs index ad6549a1..6782e259 100644 --- a/src/GraphicObjects/Label.cs +++ b/src/GraphicObjects/Label.cs @@ -12,6 +12,7 @@ using OpenTK.Input; namespace Crow { [Serializable] + [DefaultStyle("#Crow.Styles.Label.style")] public class Label : GraphicObject { #region CTOR @@ -308,17 +309,6 @@ namespace Crow NotifyValueChanged ("Text", Text); } #region GraphicObject overrides - [XmlAttributeAttribute()][DefaultValue(-1)] - public override int Width { - get { return base.Width; } - set { base.Width = value; } - } - [XmlAttributeAttribute()][DefaultValue(-1)] - public override int Height { - get { return base.Height; } - set { base.Height = value; } - } - protected override int measureRawSize(LayoutingType lt) { if (lines == null) |