summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/gdx/boardgame/ui/List.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/ui/List.java b/core/src/ch/asynk/gdx/boardgame/ui/List.java
index 4b0d388..0d4a97e 100644
--- a/core/src/ch/asynk/gdx/boardgame/ui/List.java
+++ b/core/src/ch/asynk/gdx/boardgame/ui/List.java
@@ -35,6 +35,12 @@ public class List extends Element
this.selected.visible = false;
}
+ public void setSpacing(float spacing)
+ {
+ this.spacing = spacing;
+ taint();
+ }
+
public void unselect() { idx = null; }
public Integer getIdx() { return idx; }
public Item getSelected() { return ((idx == null) ? null : items.get(idx)); }