From: jpbruyere Date: Tue, 19 Apr 2016 09:58:36 +0000 (+0200) Subject: tab Thickness as Measure not int X-Git-Tag: v0.4~68 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=e99931681315513110cd7be2053c1e51e14c08c1;p=jp%2Fcrow.git tab Thickness as Measure not int --- diff --git a/src/GraphicObjects/TabView.cs b/src/GraphicObjects/TabView.cs index 65657f38..8ec50ec9 100644 --- a/src/GraphicObjects/TabView.cs +++ b/src/GraphicObjects/TabView.cs @@ -30,6 +30,7 @@ namespace Crow { #region Private fields int _spacing; + Measure tabThickness; Orientation _orientation; int selectedTab = 0; #endregion @@ -80,15 +81,15 @@ namespace Crow RegisterForGraphicUpdate (); } } - int tabThickness; [XmlAttributeAttribute()][DefaultValue(22)] - public virtual int TabThickness { + public virtual Measure TabThickness { get { return tabThickness; } set { if (tabThickness == value) return; tabThickness = value; NotifyValueChanged ("TabThickness", tabThickness); + RegisterForGraphicUpdate (); } }