From ed5441de78ea4637d8e326462bf32746e8adc8bd Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Sat, 12 Sep 2015 17:48:35 +0200 Subject: [PATCH] Comments --- src/GraphicObjects/GraphicObject.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs index 7437c31a..b92d666c 100644 --- a/src/GraphicObjects/GraphicObject.cs +++ b/src/GraphicObjects/GraphicObject.cs @@ -426,7 +426,8 @@ namespace go if ((layoutType & (int)LayoutingType.Width) > 0) { - //force sizing to fit if parent is sizing on children + //force sizing to fit if parent is sizing on children and + //this object has stretched size if (Parent.getBounds ().Width < 0 && Width == 0) Width = -1; -- 2.47.3