diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-12 17:48:35 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-12 17:48:35 +0200 |
| commit | ed5441de78ea4637d8e326462bf32746e8adc8bd (patch) | |
| tree | e2efc1cf3a3510b7df036a0e4bcf69137cc53d9a /src/GraphicObjects | |
| parent | 4e90f77177af11a9b20b228d774ff37360a22e2f (diff) | |
Comments
Diffstat (limited to 'src/GraphicObjects')
| -rw-r--r-- | src/GraphicObjects/GraphicObject.cs | 3 |
1 files changed, 2 insertions, 1 deletions
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;
|