From fab2457715b145856556882588536967a1f10a5d Mon Sep 17 00:00:00 2001 From: Yvonne Schmidt Date: Mon, 25 Nov 2024 02:51:43 +0100 Subject: [PATCH] added header to CreateGameMenu --- .../src/main/java/pp/monopoly/client/gui/CreateGameMenu.java | 2 ++ 1 file changed, 2 insertions(+) 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 af36c2c..979fbba 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.server.MonopolyServer; @@ -77,6 +78,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"))); //NON-NLS final Container input = new Container(new SpringGridLayout()); input.addChild(new Label(lookup("host.name") + ": ")); input.addChild(host, 1);