mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-18 19:33:40 +01:00
added spacer to toolbar
This commit is contained in:
parent
b680d7bc58
commit
8de7499c21
@ -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,12 @@ public class Toolbar extends Dialog implements GameEventListener {
|
||||
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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user