diff options
Diffstat (limited to 'src/GraphicObjects/TextRun.cs')
| -rw-r--r-- | src/GraphicObjects/TextRun.cs | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/GraphicObjects/TextRun.cs b/src/GraphicObjects/TextRun.cs index 021d5654..7f50a34e 100644 --- a/src/GraphicObjects/TextRun.cs +++ b/src/GraphicObjects/TextRun.cs @@ -11,6 +11,7 @@ using System.ComponentModel; namespace Crow { [Serializable] + [DefaultStyle("#Crow.Styles.TextRun.style")] public class TextRun : GraphicObject { #region CTOR @@ -127,22 +128,6 @@ namespace Crow } #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; } - } - [XmlAttributeAttribute()][DefaultValue(2)] - public override int Margin { - get { return base.Margin; } - set { base.Margin = value; } - } - protected override int measureRawSize(LayoutingType lt) { if (lines == null) |