adjusted test in ReceivedRent

This commit is contained in:
Simon Wilkening 2024-12-06 13:20:40 +01:00
parent 9e81fb8549
commit 2aca94100e

View File

@ -107,7 +107,7 @@ public class ReceivedRent extends Dialog {
// Rent message // Rent message
Container textContainer = container.addChild(new Container()); 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"))); new ElementId("label-Text")));
textContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f))); textContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f)));
textContainer.setPreferredSize(container.getPreferredSize().addLocal(-250, -200, 0)); textContainer.setPreferredSize(container.getPreferredSize().addLocal(-250, -200, 0));