From 3fc4eb5d2bbac60db4133d579b99dbdb9cf6fdaf Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Tue, 18 Oct 2016 18:02:16 +0200 Subject: add RegisterLayouting for position when vert or horiz align changed --- src/GraphicObjects/GraphicObject.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/GraphicObjects') 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)] -- cgit v1.3.1-4-g156e