From: jpbruyere Date: Sat, 12 Sep 2015 15:48:35 +0000 (+0200) Subject: Comments X-Git-Tag: 0.2~36 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=ed5441de78ea4637d8e326462bf32746e8adc8bd;p=jp%2Fcrow.git Comments --- 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;