]> O.S.I.I.S - jp/crow.git/commitdiff
tab Thickness as Measure not int
authorjpbruyere <jp.bruyere@hotmail.com>
Tue, 19 Apr 2016 09:58:36 +0000 (11:58 +0200)
committerjpbruyere <jp.bruyere@hotmail.com>
Tue, 19 Apr 2016 09:58:36 +0000 (11:58 +0200)
src/GraphicObjects/TabView.cs

index 65657f38ebb8429f4733521144ec0ade55b7a48d..8ec50ec9bc7a480af612ab066fe87fcae16d9b74 100644 (file)
@@ -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 ();
                        }
                }