diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/GateFieldCard.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/GateFieldCard.java index 5af9f1a..936d3a1 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/GateFieldCard.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/GateFieldCard.java @@ -53,7 +53,6 @@ public class GateFieldCard extends Dialog implements PopupDialog { private void createBackgroundContainer() { backgroundContainer = new Container(); backgroundContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.8657f, 0.8735f, 0.8892f, 1.0f))); // Light gray background - gateFieldContainer.setPreferredSize(new Vector3f(360,420,1)); } /** @@ -63,6 +62,8 @@ public class GateFieldCard extends Dialog implements PopupDialog { */ private void createGateFieldContainer(GateField field) { gateFieldContainer = new Container(); + //TODO: Set the size of the container to the size of the screen @Simon + gateFieldContainer.setPreferredSize(new Vector3f(360,420,1)); gateFieldContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.8657f, 0.8735f, 0.8892f, 1.0f))); // Title