aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Container.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-06-06 11:37:41 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-06-06 11:37:42 +0200
commit0128eebf85f3a0c29b2e6b63f966ddd27205818c (patch)
treeb431e74f6a747c26dc7a0db03b0427943567370f /src/GraphicObjects/Container.cs
parenta7363d1f7e4eb1611e4ab522c8cf381b70570b7e (diff)
- generic conversion through Parse method for custom type xml
attribute
Diffstat (limited to 'src/GraphicObjects/Container.cs')
-rw-r--r--src/GraphicObjects/Container.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/Container.cs b/src/GraphicObjects/Container.cs
index 298f1873..66e3b9e4 100644
--- a/src/GraphicObjects/Container.cs
+++ b/src/GraphicObjects/Container.cs
@@ -63,7 +63,7 @@ namespace go
}
protected override Size measureRawSize ()
{
- return child == null ? Bounds.Size : new Size(child.Slot.Width + 2 * (Margin),child.Slot.Height + 2 * (Margin));
+ return child == null ? Bounds.Size : new Size(child.Slot.Width + 2 * Margin, child.Slot.Height + 2 * (Margin));
}
protected override void OnLayoutChanges (LayoutingType layoutType)