aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-15 11:09:34 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-15 11:09:34 +0100
commit6ef48fcf1da0116e25e005ea55e698df51253f3c (patch)
tree29efd043083069cd90565881a15b5a0306a274a6 /src/GraphicObjects
parent60542beb36347b4af6070c2c5db580700755698f (diff)
debug stacking computation
Diffstat (limited to 'src/GraphicObjects')
-rw-r--r--src/GraphicObjects/GenericStack.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/GenericStack.cs b/src/GraphicObjects/GenericStack.cs
index 3f2ec8a1..7f4dbea8 100644
--- a/src/GraphicObjects/GenericStack.cs
+++ b/src/GraphicObjects/GenericStack.cs
@@ -165,7 +165,7 @@ namespace Crow
cptChildren++;
if (Children [i].Height == 0) {
if (!(stretchedGO == null && Height >= 0)){
- Children [i].Width = -1;
+ Children [i].Height = -1;
return false;
}
stretchedGO = Children [i];