From: jpbruyere Date: Tue, 18 Oct 2016 16:02:16 +0000 (+0200) Subject: add RegisterLayouting for position when vert or horiz align changed X-Git-Tag: v0.9.5-beta~259^2~25 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=3fc4eb5d2bbac60db4133d579b99dbdb9cf6fdaf;p=jp%2Fcrow.git add RegisterLayouting for position when vert or horiz align changed --- diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs index e69aaaca..b58bf7eb 100644 --- a/src/GraphicObjects/GraphicObject.cs +++ b/src/GraphicObjects/GraphicObject.cs @@ -226,6 +226,7 @@ namespace Crow verticalAlignment = value; NotifyValueChanged("VerticalAlignment", verticalAlignment); + RegisterForLayouting (LayoutingType.Y); } } [XmlAttributeAttribute()][DefaultValue(HorizontalAlignment.Center)] @@ -237,6 +238,7 @@ namespace Crow horizontalAlignment = value; NotifyValueChanged("HorizontalAlignment", horizontalAlignment); + RegisterForLayouting (LayoutingType.X); } } [XmlAttributeAttribute()][DefaultValue(0)]