aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/PrivateContainer.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-03-07 09:01:51 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-03-07 09:01:51 +0100
commitcb358be8fcf6fa2d49648141f7eeb73359c2a51b (patch)
tree4103e33f6ad44d4c948c9953f7d08adc7231122e /src/GraphicObjects/PrivateContainer.cs
parent03aa114a78d036f2ef0ed0e56474caa1e1e029e5 (diff)
don't test visibility of children in OnLayoutChange => solve recursive expanders bug
Diffstat (limited to 'src/GraphicObjects/PrivateContainer.cs')
-rw-r--r--src/GraphicObjects/PrivateContainer.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/GraphicObjects/PrivateContainer.cs b/src/GraphicObjects/PrivateContainer.cs
index 3a3d9067..ddabc7e0 100644
--- a/src/GraphicObjects/PrivateContainer.cs
+++ b/src/GraphicObjects/PrivateContainer.cs
@@ -126,14 +126,12 @@ namespace Crow
switch (layoutType) {
case LayoutingType.Width:
if (child != null) {
- if (child.Visible)
- child.RegisterForLayouting (LayoutingType.X | LayoutingType.Width);
+ child.RegisterForLayouting (LayoutingType.X | LayoutingType.Width);
}
break;
case LayoutingType.Height:
if (child != null) {
- if (child.Visible)
- child.RegisterForLayouting (LayoutingType.Y | LayoutingType.Height);
+ child.RegisterForLayouting (LayoutingType.Y | LayoutingType.Height);
}
break;
}