recolored selection containers

This commit is contained in:
Yvonne Schmidt 2024-12-09 05:31:22 +01:00
parent 38699ac07a
commit b6803c562c
2 changed files with 9 additions and 1 deletions

View File

@ -101,6 +101,13 @@ selector("label-Text", "pp") {
color = buttonEnabledColor color = buttonEnabledColor
} }
selector("label-player", "pp") {
insets = new Insets3f(2, 2, 2, 2)
font = font("Interface/Fonts/Metropolis/Metropolis-Bold-32.fnt")
fontSize = 20
color = buttonEnabledColor
}
selector("label-account", "pp") { selector("label-account", "pp") {
insets = new Insets3f(2, 2, 2, 2) insets = new Insets3f(2, 2, 2, 2)
fontSize = 25 fontSize = 25

View File

@ -510,7 +510,8 @@ public class Toolbar extends Dialog implements GameEventListener {
if (player.getId() != app.getId()) { if (player.getId() != app.getId()) {
Label playerLabel = new Label( Label playerLabel = new Label(
player.getName() + ": " + player.getAccountBalance() + " EUR", player.getName() + ": " + player.getAccountBalance() + " EUR",
new ElementId("label-Text") new ElementId("label-player")
); );
playerLabel.setColor(Player.getColor(player.getId()).getColor()); playerLabel.setColor(Player.getColor(player.getId()).getColor());
overviewContainer.addChild(playerLabel); overviewContainer.addChild(playerLabel);