mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-18 22:56:15 +01:00
centered account values
This commit is contained in:
parent
174fe5cfb3
commit
991fe5280f
@ -71,6 +71,14 @@ selector("label-Text", "pp") {
|
||||
color = buttonEnabledColor
|
||||
}
|
||||
|
||||
selector("label-account", "pp") {
|
||||
insets = new Insets3f(2, 2, 2, 2)
|
||||
fontSize = 25
|
||||
color = buttonEnabledColor
|
||||
textHAlignment = HAlignment.Center
|
||||
textVAlignment = VAlignment.Center
|
||||
}
|
||||
|
||||
selector("card-label", "pp") {
|
||||
insets = new Insets3f(2, 2, 2, 2)
|
||||
color = ColorRGBA.Black
|
||||
|
@ -245,12 +245,12 @@ public class Toolbar extends Dialog implements GameEventListener {
|
||||
accountContainer.addChild(new Label("Kontostand", new ElementId("label-Bold")));
|
||||
accountContainer.addChild(new Label(
|
||||
playerHandler.getPlayerById(app.getId()).getAccountBalance() + " EUR",
|
||||
new ElementId("label-Text")
|
||||
new ElementId("label-account")
|
||||
));
|
||||
accountContainer.addChild(new Label("Gulag Karten", new ElementId("label-Bold")));
|
||||
accountContainer.addChild(new Label(
|
||||
playerHandler.getPlayerById(app.getId()).getNumJailCard() + "",
|
||||
new ElementId("label-Text")
|
||||
new ElementId("label-account")
|
||||
));
|
||||
accountContainer.setBackground(createBackground());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user