|
@@ -24,7 +24,7 @@ namespace PixiEditor.Views.UserControls
|
|
|
|
|
|
for (int i = 0; i < children.Count; i++)
|
|
for (int i = 0; i < children.Count; i++)
|
|
{
|
|
{
|
|
- UIElement child = children[i] as UIElement;
|
|
|
|
|
|
+ UIElement child = children[i];
|
|
|
|
|
|
// Flow passes its own constraint to children
|
|
// Flow passes its own constraint to children
|
|
child.Measure(constraint);
|
|
child.Measure(constraint);
|
|
@@ -50,7 +50,6 @@ namespace PixiEditor.Views.UserControls
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
panelSize.Width = Math.Max(curLineSize.Width, panelSize.Width);
|
|
panelSize.Width = Math.Max(curLineSize.Width, panelSize.Width);
|
|
panelSize.Height += curLineSize.Height;
|
|
panelSize.Height += curLineSize.Height;
|
|
|
|
|