diff --git a/Projekte/jme-common/src/main/resources/Interface/Lemur/pp-styles.groovy b/Projekte/jme-common/src/main/resources/Interface/Lemur/pp-styles.groovy index 749dfdb..85b874f 100644 --- a/Projekte/jme-common/src/main/resources/Interface/Lemur/pp-styles.groovy +++ b/Projekte/jme-common/src/main/resources/Interface/Lemur/pp-styles.groovy @@ -71,6 +71,14 @@ selector("label-Text", "pp") { color = buttonEnabledColor } +selector("label-account", "pp") { + insets = new Insets3f(2, 2, 2, 2) + fontSize = 25 + color = buttonEnabledColor + textHAlignment = HAlignment.Center + textVAlignment = VAlignment.Center +} + selector("card-label", "pp") { insets = new Insets3f(2, 2, 2, 2) color = ColorRGBA.Black diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/Toolbar.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/Toolbar.java index 7712d78..c038006 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/Toolbar.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/Toolbar.java @@ -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());