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
commit3fc4eb5d2bbac60db4133d579b99dbdb9cf6fdaf (patch)
tree6b6a1fc82dae86bf79d694060993539cb1b92317 /src/GraphicObjects
parent43a1802b884782921ad3b61fc63bcfefadb627bb (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)]