summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/ui
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank/ui')
-rw-r--r--core/src/ch/asynk/tankontank/ui/OkCancel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/ui/OkCancel.java b/core/src/ch/asynk/tankontank/ui/OkCancel.java
index 3dfd28d..39f72cf 100644
--- a/core/src/ch/asynk/tankontank/ui/OkCancel.java
+++ b/core/src/ch/asynk/tankontank/ui/OkCancel.java
@@ -66,7 +66,7 @@ public class OkCancel extends Patch
setPosition(x, y, width, height);
okBtn.setPosition((x + width - okBtn.getWidth() - PADDING), (y + PADDING));
- cancelBtn.setPosition((okBtn.getX() - cancelBtn.getWidth() - HSPACING), okBtn.getY());
+ cancelBtn.setPosition((x + PADDING), okBtn.getY());
label.setPosition((x + PADDING), (y + PADDING + okBtn.getHeight() + VSPACING));
cancelBtn.visible = true;
visible = true;