diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-10-18 18:02:16 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-10-18 18:02:16 +0200 |
| commit | 6006dad818798df4e8b7d0299a18f325a2d8a0a7 (patch) | |
| tree | ba55efa30054975b28c072bcf0af026e68f9d48d /src | |
| parent | ad18d88bb157dee50dab5f60809623fe2cf5d0ee (diff) | |
add RegisterLayouting for position when vert or horiz align changed
Diffstat (limited to 'src')
| -rw-r--r-- | src/GraphicObjects/GraphicObject.cs | 2 |
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)] |