centered account values

This commit is contained in:
Yvonne Schmidt
2024-11-30 01:03:11 +01:00
parent 174fe5cfb3
commit 991fe5280f
2 changed files with 10 additions and 2 deletions

View File

@@ -245,12 +245,12 @@ public class Toolbar extends Dialog implements GameEventListener {
accountContainer.addChild(new Label("Kontostand", new ElementId("label-Bold")));
accountContainer.addChild(new Label(
playerHandler.getPlayerById(app.getId()).getAccountBalance() + " EUR",
new ElementId("label-Text")
new ElementId("label-account")
));
accountContainer.addChild(new Label("Gulag Karten", new ElementId("label-Bold")));
accountContainer.addChild(new Label(
playerHandler.getPlayerById(app.getId()).getNumJailCard() + "",
new ElementId("label-Text")
new ElementId("label-account")
));
accountContainer.setBackground(createBackground());