aboutsummaryrefslogtreecommitdiffstatsci
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-02 13:25:25 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-08-02 13:25:25 +0200
commit64ae55a0bd1ee9c8e215fd803fc15742bbbebc9f (patch)
tree416fdfda72b32cead30d793674a7b7828ebfd66c
parentda0cd66b6af42a3df1f35014617f1e0882ae9e63 (diff)
no constraint for child positionning in container, because if Fit but
size = minSize, child has to be positionned. modifié : src/GraphicObjects/PrivateContainer.cs
-rw-r--r--src/GraphicObjects/PrivateContainer.cs7
1 files changed, 0 insertions, 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) {