aboutsummaryrefslogtreecommitdiffstatsci
path: root/src
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-09-12 17:48:35 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-09-12 17:48:35 +0200
commited5441de78ea4637d8e326462bf32746e8adc8bd (patch)
treee2efc1cf3a3510b7df036a0e4bcf69137cc53d9a /src
parent4e90f77177af11a9b20b228d774ff37360a22e2f (diff)
Comments
Diffstat (limited to 'src')
-rw-r--r--src/GraphicObjects/GraphicObject.cs3
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;