aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/GenericStack.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-03-04 12:33:20 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-03-04 12:33:20 +0100
commitdbe64f1bcf768c02ca62314559b5657197b7453c (patch)
treeb19cebfca67929a6253ad3af5a677a14900e0aff /src/GraphicObjects/GenericStack.cs
parent27a85f2d4e9987ac1809199e280e17a36d68c783 (diff)
clear Slot when parent change in go, docker wip
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);
}
}
}