diff options
-rw-r--r-- | core/src/ch/asynk/rustanddust/menu/OptionsMenu.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java b/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java index f569b8c..d532877 100644 --- a/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java +++ b/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java @@ -16,6 +16,7 @@ public class OptionsMenu extends Patch { public static int PADDING = 40; public static int OK_PADDING = 10; + public static int OPT_PADDING = 10; public static int TITLE_PADDING = 30; public static int VSPACING = 5; public static int HSPACING = 30; @@ -148,10 +149,10 @@ public class OptionsMenu extends Patch float dy = (VSPACING + checkLabels[0].getHeight()); graphics.setPosition(x, y); - graphicsValue.setPosition((x + graphics.getWidth() + 10), y); + graphicsValue.setPosition((x + graphics.getWidth() + OPT_PADDING), y); y += dy; fxVolume.setPosition(x, y); - fxVolumeValue.setPosition((x + fxVolume.getWidth() + 10), y); + fxVolumeValue.setPosition((x + fxVolume.getWidth() + OPT_PADDING), y); y += dy; for (int i = 0; i < checkLabels.length; i++) { checkLabels[i].setPosition(x, y); |