aboutsummaryrefslogtreecommitdiffstatsci
path: root/src
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-10 11:00:39 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-10 11:00:39 +0100
commite962e4cf5de6bdaa67b15e149384976512e0d730 (patch)
tree6bcd39cc1428f4f47a9354c34fe22acb2923fd74 /src
parent3f2cf3678530ad43507581a7ee474b4fc75f84d8 (diff)
debug
Diffstat (limited to 'src')
-rw-r--r--src/GraphicObjects/GraphicObject.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs
index 93fa85bb..e3780845 100644
--- a/src/GraphicObjects/GraphicObject.cs
+++ b/src/GraphicObjects/GraphicObject.cs
@@ -688,7 +688,7 @@ namespace Crow
Slot.Height = Height;
else if (Height < 0)
Slot.Height = measureRawSize ().Height;
- else if (Parent.RegisteredLayoutings.HasFlag (LayoutingType.Width))
+ else if (Parent.RegisteredLayoutings.HasFlag (LayoutingType.Height))
return false;
else
Slot.Height = Parent.ClientRectangle.Height;