summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame/ui
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame/ui')
-rw-r--r--core/src/ch/asynk/gdx/boardgame/ui/Element.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/ui/Element.java b/core/src/ch/asynk/gdx/boardgame/ui/Element.java
index 9885b59..bf747b5 100644
--- a/core/src/ch/asynk/gdx/boardgame/ui/Element.java
+++ b/core/src/ch/asynk/gdx/boardgame/ui/Element.java
@@ -167,7 +167,7 @@ public abstract class Element implements Drawable, Paddable, Positionable, Touch
rect.width = parent.getInnerWidth();
}
if (sizing.fillHeight()) {
- rect.width = parent.getInnerHeight();
+ rect.height = parent.getInnerHeight();
}
}
// it is up to the subclass to implement the expand logic