diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-04 12:33:20 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-04 12:33:20 +0100 |
| commit | 31b423b9e0a021cc9e93235d3772bf1c0ea5f144 (patch) | |
| tree | bc72782d3af6a574388f21099150efb561da5274 /src/GraphicObjects/GenericStack.cs | |
| parent | 27232cfa68a07db1286331ca93fe9067a46fda9b (diff) | |
clear Slot when parent change in go, docker wip
Diffstat (limited to 'src/GraphicObjects/GenericStack.cs')
| -rw-r--r-- | src/GraphicObjects/GenericStack.cs | 4 |
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); } } } |