diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/BuildingPropertyCard.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/BuildingPropertyCard.java index aee5566..d320d80 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/BuildingPropertyCard.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/BuildingPropertyCard.java @@ -95,14 +95,14 @@ public class BuildingPropertyCard extends Dialog { buildingPropertyContainer.setLocalTranslation( (app.getCamera().getWidth() - buildingPropertyContainer.getPreferredSize().x) / 2, (app.getCamera().getHeight() + buildingPropertyContainer.getPreferredSize().y) / 2, - 8 + 10 ); // Zentriere das Popup backgroundContainer.setLocalTranslation( (app.getCamera().getWidth() - buildingPropertyContainer.getPreferredSize().x - padding) / 2, (app.getCamera().getHeight() + buildingPropertyContainer.getPreferredSize().y+ padding) / 2, - 7 + 9 ); app.getGuiNode().attachChild(buildingPropertyContainer); diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/BuyHouse.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/BuyHouse.java index 45394f1..c720d26 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/BuyHouse.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/BuyHouse.java @@ -125,13 +125,13 @@ public class BuyHouse extends Dialog { buyHouseContainer.setLocalTranslation( (app.getCamera().getWidth() - buyHouseContainer.getPreferredSize().x) / 2, (app.getCamera().getHeight() + buyHouseContainer.getPreferredSize().y) / 2, - 11 + 8 ); backgroundContainer.setLocalTranslation( (app.getCamera().getWidth() - buyHouseContainer.getPreferredSize().x - padding) / 2, (app.getCamera().getHeight() + buyHouseContainer.getPreferredSize().y + padding) / 2, - 10 + 7 ); app.getGuiNode().attachChild(buyHouseContainer); diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/EventCardPopup.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/EventCardPopup.java index 130454b..21eaabb 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/EventCardPopup.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/EventCardPopup.java @@ -69,7 +69,7 @@ public class EventCardPopup extends Dialog { Container propertyValuesContainer = eventCardContainer.addChild(new Container()); propertyValuesContainer.addChild(new Label(description, new ElementId("label-Text"))); propertyValuesContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f))); - propertyValuesContainer.setPreferredSize(new Vector3f(300,200,10)); + propertyValuesContainer.setPreferredSize(new Vector3f(300,200,0)); // Beenden-Button Button quitButton = eventCardContainer.addChild(new Button("Jawohl", new ElementId("button"))); @@ -83,14 +83,14 @@ public class EventCardPopup extends Dialog { eventCardContainer.setLocalTranslation( (app.getCamera().getWidth() - eventCardContainer.getPreferredSize().x) / 2, (app.getCamera().getHeight() + eventCardContainer.getPreferredSize().y) / 2, - 9 + 8 ); // Zentriere das Popup backgroundContainer.setLocalTranslation( (app.getCamera().getWidth() - eventCardContainer.getPreferredSize().x - padding) / 2, (app.getCamera().getHeight() + eventCardContainer.getPreferredSize().y+ padding) / 2, - 8 + 7 ); app.getGuiNode().attachChild(eventCardContainer);