From 31b423b9e0a021cc9e93235d3772bf1c0ea5f144 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Sun, 4 Mar 2018 12:33:20 +0100 Subject: clear Slot when parent change in go, docker wip --- src/GraphicObjects/GenericStack.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/GraphicObjects/GenericStack.cs') 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); } } } -- cgit v1.3.1-4-g156e