From 2aca94100e70a196001706f4d73589f3c9feb31a Mon Sep 17 00:00:00 2001 From: Simon Wilkening Date: Fri, 6 Dec 2024 13:20:40 +0100 Subject: [PATCH] adjusted test in ReceivedRent --- .../main/java/pp/monopoly/client/gui/popups/ReceivedRent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/ReceivedRent.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/ReceivedRent.java index 3567116..bd26a29 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/ReceivedRent.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/ReceivedRent.java @@ -107,7 +107,7 @@ public class ReceivedRent extends Dialog { // Rent message Container textContainer = container.addChild(new Container()); - textContainer.addChild(new Label(playerName+ "zahlt dir " + amount + " EUR Miete", + textContainer.addChild(new Label(playerName+ " zahlt dir " + amount + " EUR Miete", new ElementId("label-Text"))); textContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f))); textContainer.setPreferredSize(container.getPreferredSize().addLocal(-250, -200, 0));