From c758ba97350c9c60e919b8661c6648efd5b125ba Mon Sep 17 00:00:00 2001 From: Yvonne Schmidt Date: Sun, 8 Dec 2024 15:05:47 +0100 Subject: [PATCH] corrected toolbar labels --- .../src/main/resources/Interface/Lemur/pp-styles.groovy | 2 +- .../client/src/main/java/pp/monopoly/client/gui/Toolbar.java | 2 ++ 2 files changed, 3 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 38fa830..79f8218 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 @@ -87,7 +87,7 @@ selector("label-Bold", "pp") { selector("label-toolbar", "pp") { insets = new Insets3f(2, 2, 2, 2) font = font("Interface/Fonts/Metropolis/Metropolis-Bold-32.fnt") - fontSize = 30 + fontSize = 25 color = new ColorRGBA(ColorRGBA.White) textHAlignment = HAlignment.Center textVAlignment = VAlignment.Center 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 5a86ec4..4a1a08e 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,6 +510,8 @@ public class Toolbar extends Dialog implements GameEventListener { // Farbe setzen playerLabel.setColor(playerColor); + + playerLabel.setFontSize(20); // Label zum Container hinzufügen overviewContainer.addChild(playerLabel);