aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/GenericStack.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GraphicObjects/GenericStack.cs')
-rw-r--r--src/GraphicObjects/GenericStack.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/GraphicObjects/GenericStack.cs b/src/GraphicObjects/GenericStack.cs
index 2df681e4..0dbaedd1 100644
--- a/src/GraphicObjects/GenericStack.cs
+++ b/src/GraphicObjects/GenericStack.cs
@@ -235,6 +235,7 @@ namespace Crow
base.RemoveChild (child);
if (child == stretchedGO) {
stretchedGO = null;
+ RegisterForLayouting (LayoutingType.Sizing);
return;
}
if (Orientation == Orientation.Horizontal) {
@@ -244,9 +245,6 @@ namespace Crow
contentSize.Height -= child.LastSlots.Height;
adjustStretchedGo (LayoutingType.Height);
}
-
-
-// RegisterForLayouting (LayoutingType.ArrangeChildren);
}
}
}