From 64ae55a0bd1ee9c8e215fd803fc15742bbbebc9f Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Tue, 2 Aug 2016 13:25:25 +0200 Subject: [PATCH] no constraint for child positionning in container, because if Fit but size = minSize, child has to be positionned. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit modifié : src/GraphicObjects/PrivateContainer.cs --- src/GraphicObjects/PrivateContainer.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/GraphicObjects/PrivateContainer.cs b/src/GraphicObjects/PrivateContainer.cs index 08abf95a..1bf53de4 100644 --- a/src/GraphicObjects/PrivateContainer.cs +++ b/src/GraphicObjects/PrivateContainer.cs @@ -92,13 +92,6 @@ namespace Crow return child == goToFind ? true : child == null ? false : child.Contains(goToFind); } - public override void ChildrenLayoutingConstraints (ref LayoutingType layoutType) - { - if (Width == Measure.Fit) - layoutType &= (~LayoutingType.X); - if (Height == Measure.Fit) - layoutType &= (~LayoutingType.Y); - } public override bool UpdateLayout (LayoutingType layoutType) { if (child != null) { -- 2.47.3