added spacer to toolbar

This commit is contained in:
Yvonne Schmidt 2024-12-09 22:16:53 +01:00
parent b680d7bc58
commit 8de7499c21

View File

@ -99,6 +99,7 @@ public class Toolbar extends Dialog implements GameEventListener {
container.setBackground(background); container.setBackground(background);
setupBorders(container); setupBorders(container);
setupSpacer(container);
setupPlayerInfoSection(container); setupPlayerInfoSection(container);
setupDiceSection(container); setupDiceSection(container);
setupActionMenu(container); setupActionMenu(container);
@ -135,6 +136,12 @@ public class Toolbar extends Dialog implements GameEventListener {
app.getGuiNode().attachChild(border); app.getGuiNode().attachChild(border);
} }
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. * Sets up the player information section of the toolbar interface.
* *