aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-10-18 18:02:16 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-10-18 18:02:16 +0200
commit6006dad818798df4e8b7d0299a18f325a2d8a0a7 (patch)
treeba55efa30054975b28c072bcf0af026e68f9d48d /src/GraphicObjects
parentad18d88bb157dee50dab5f60809623fe2cf5d0ee (diff)
add RegisterLayouting for position when vert or horiz align changed
Diffstat (limited to 'src/GraphicObjects')
-rw-r--r--src/GraphicObjects/GraphicObject.cs2
1 files changed, 2 insertions, 0 deletions
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)]