aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/GenericStack.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GraphicObjects/GenericStack.cs')
-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];