From 6006dad818798df4e8b7d0299a18f325a2d8a0a7 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Tue, 18 Oct 2016 18:02:16 +0200 Subject: [PATCH] add RegisterLayouting for position when vert or horiz align changed --- src/GraphicObjects/GraphicObject.cs | 2 ++ 1 file changed, 2 insertions(+) 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)] -- 2.47.3