corrected toolbar labels

This commit is contained in:
Yvonne Schmidt 2024-12-08 15:05:47 +01:00
parent 650dcb85db
commit c758ba9735
2 changed files with 3 additions and 1 deletions

View File

@ -87,7 +87,7 @@ selector("label-Bold", "pp") {
selector("label-toolbar", "pp") {
insets = new Insets3f(2, 2, 2, 2)
font = font("Interface/Fonts/Metropolis/Metropolis-Bold-32.fnt")
fontSize = 30
fontSize = 25
color = new ColorRGBA(ColorRGBA.White)
textHAlignment = HAlignment.Center
textVAlignment = VAlignment.Center

View File

@ -510,6 +510,8 @@ public class Toolbar extends Dialog implements GameEventListener {
// Farbe setzen
playerLabel.setColor(playerColor);
playerLabel.setFontSize(20);
// Label zum Container hinzufügen
overviewContainer.addChild(playerLabel);