From 75d5a15bdb78c6d70016596458deb08458170ca3 Mon Sep 17 00:00:00 2001 From: Yvonne Schmidt Date: Sat, 23 Nov 2024 23:19:53 +0100 Subject: [PATCH] =?UTF-8?q?defaultwerte=20in=20die=20Lobby=20eingef=C3=BCg?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/pp/monopoly/client/gui/LobbyMenu.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/LobbyMenu.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/LobbyMenu.java index 5111db9..74fe0c3 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/LobbyMenu.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/LobbyMenu.java @@ -64,7 +64,7 @@ public class LobbyMenu { spacerBeforeInput.setPreferredSize(new Vector3f(20, 1, 0)); // Width of the spacer // Add an input field (TextField) - TextField startingCapital = horizontalContainer.addChild(new TextField("")); + TextField startingCapital = horizontalContainer.addChild(new TextField("15 000")); startingCapital.setPreferredWidth(100); // Set the width of the input field startingCapital.setPreferredSize(new Vector3f(150, 50, 0)); startingCapital.setInsets(new Insets3f(5, 10, 5, 10)); // Add padding around the text inside the field @@ -91,7 +91,7 @@ public class LobbyMenu { playerInputContainer.setBackground(null); - TextField playerInputField = new TextField(""); + TextField playerInputField = new TextField("Spieler 1"); playerInputField.setPreferredSize(new Vector3f(100, 20, 0)); playerInputField.setInsets(new Insets3f(5, 10, 5, 10)); // Add padding for the text inside the field playerInputField.setBackground(new QuadBackgroundComponent(ColorRGBA.Black)); @@ -106,10 +106,12 @@ public class LobbyMenu { figureDropdownContainer.setBackground(null); VersionedList figures = new VersionedList<>(); - figures.add("Hund"); + figures.add("Laptop"); + figures.add("Flugzeug"); + figures.add("Jägermeister"); figures.add("Katze"); - figures.add("Panzer"); - figures.add("Pot"); + figures.add("OOP"); + figures.add("Handyholster"); Selector figureDropdown = new Selector<>(figures, "glass"); figureDropdown.setBackground(new QuadBackgroundComponent(ColorRGBA.DarkGray));