From cd4331aee35a8de33a69716eabad5fb3bf263bd3 Mon Sep 17 00:00:00 2001 From: Yvonne Schmidt Date: Mon, 25 Nov 2024 02:43:08 +0100 Subject: [PATCH] added header to CreateGameMenu --- .../src/main/java/pp/monopoly/client/gui/CreateGameMenu.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/CreateGameMenu.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/CreateGameMenu.java index ce0c4db..0d6b3f4 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/CreateGameMenu.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/CreateGameMenu.java @@ -25,6 +25,7 @@ import com.simsilica.lemur.component.SpringGridLayout; import static pp.monopoly.Resources.lookup; +import com.simsilica.lemur.style.ElementId; import pp.monopoly.client.MonopolyApp; import pp.monopoly.client.NetworkSupport; import pp.monopoly.notification.Sound; @@ -78,7 +79,7 @@ public class CreateGameMenu extends Dialog { background.setLocalTranslation(0, 0, -1); // Ensure it is behind other GUI elements app.getGuiNode().attachChild(background); - + addChild(new Label("Spiel erstellen",new ElementId("header"))); final Container input = new Container(new SpringGridLayout()); input.addChild(new Label(lookup("host.name") + ": ")); input.addChild(host, 1);