diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/Toolbar.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/Toolbar.java index 0659528..de25d50 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/Toolbar.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/Toolbar.java @@ -99,6 +99,7 @@ public class Toolbar extends Dialog implements GameEventListener { container.setBackground(background); setupBorders(container); + setupSpacer(container); setupPlayerInfoSection(container); setupDiceSection(container); setupActionMenu(container); @@ -135,6 +136,17 @@ public class Toolbar extends Dialog implements GameEventListener { app.getGuiNode().attachChild(border); } + /** + * Adds a spacer to the specified container. + * + * @param container the container to which the spacer is added + */ + private void setupSpacer(Container container) { + Container spacer = container.addChild(new Container()); + spacer.setPreferredSize(new Vector3f(20, 10, 0)); + spacer.setBackground(null); + } + /** * Sets up the player information section of the toolbar interface. *