summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/src/ch/asynk/gdx/boardgame/test/UiScreen.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java b/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java
index a0167dc..ec06a3f 100644
--- a/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java
+++ b/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java
@@ -188,6 +188,7 @@ class MyList extends Patch
// update dimensions
title.computeGeometry();
+ list.computeGeometry();
rect.width = title.getWidth() + pp;
rect.height = title.getHeight() + pp + list.getHeight() + 15;
if ((list.getWidth() + pp) > rect.width) rect.width = list.getWidth() + pp;