diff options
Diffstat (limited to 'src/GraphicObjects/GenericStack.cs')
| -rw-r--r-- | src/GraphicObjects/GenericStack.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/GraphicObjects/GenericStack.cs b/src/GraphicObjects/GenericStack.cs index 7f4dbea8..bbbc52ec 100644 --- a/src/GraphicObjects/GenericStack.cs +++ b/src/GraphicObjects/GenericStack.cs @@ -83,9 +83,6 @@ namespace Crow } public virtual void ComputeChildrenPositions() { - #if DEBUG_LAYOUTING - Debug.WriteLine("ComputeChildrenPosition: " + this.ToString()); - #endif int d = 0; if (Orientation == Orientation.Horizontal) { foreach (GraphicObject c in Children) { @@ -149,6 +146,9 @@ namespace Crow if (stretchedGO.LastSlots.Width != tmpWidth) { stretchedGO.Slot.Width = tmpWidth; stretchedGO.bmp = null; + #if DEBUG_LAYOUTING + Debug.WriteLine ("\tAdjusting Width of " + stretchedGO.ToString()); + #endif stretchedGO.OnLayoutChanges (LayoutingType.Width); stretchedGO.LastSlots.Width = stretchedGO.Slot.Width; } @@ -184,6 +184,9 @@ namespace Crow if (stretchedGO.LastSlots.Height != tmpHeight) { stretchedGO.Slot.Height = tmpHeight; stretchedGO.bmp = null; + #if DEBUG_LAYOUTING + Debug.WriteLine ("\tAdjusting Height of " + stretchedGO.ToString()); + #endif stretchedGO.OnLayoutChanges (LayoutingType.Height); stretchedGO.LastSlots.Height = stretchedGO.Slot.Height; } |