From b6803c562c85bb5e46cc1422375c18d40d20b43a Mon Sep 17 00:00:00 2001 From: Yvonne Schmidt Date: Mon, 9 Dec 2024 05:31:22 +0100 Subject: [PATCH] recolored selection containers --- .../src/main/resources/Interface/Lemur/pp-styles.groovy | 7 +++++++ .../src/main/java/pp/monopoly/client/gui/Toolbar.java | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 db136d5..a569137 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 @@ -101,6 +101,13 @@ selector("label-Text", "pp") { color = buttonEnabledColor } +selector("label-player", "pp") { + insets = new Insets3f(2, 2, 2, 2) + font = font("Interface/Fonts/Metropolis/Metropolis-Bold-32.fnt") + fontSize = 20 + color = buttonEnabledColor +} + selector("label-account", "pp") { insets = new Insets3f(2, 2, 2, 2) fontSize = 25 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 f83c233..9225ef2 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 @@ -510,7 +510,8 @@ public class Toolbar extends Dialog implements GameEventListener { if (player.getId() != app.getId()) { Label playerLabel = new Label( player.getName() + ": " + player.getAccountBalance() + " EUR", - new ElementId("label-Text") + new ElementId("label-player") + ); playerLabel.setColor(Player.getColor(player.getId()).getColor()); overviewContainer.addChild(playerLabel);