mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-19 00:06:16 +01:00
corrected toolbar labels
This commit is contained in:
parent
650dcb85db
commit
c758ba9735
@ -87,7 +87,7 @@ selector("label-Bold", "pp") {
|
|||||||
selector("label-toolbar", "pp") {
|
selector("label-toolbar", "pp") {
|
||||||
insets = new Insets3f(2, 2, 2, 2)
|
insets = new Insets3f(2, 2, 2, 2)
|
||||||
font = font("Interface/Fonts/Metropolis/Metropolis-Bold-32.fnt")
|
font = font("Interface/Fonts/Metropolis/Metropolis-Bold-32.fnt")
|
||||||
fontSize = 30
|
fontSize = 25
|
||||||
color = new ColorRGBA(ColorRGBA.White)
|
color = new ColorRGBA(ColorRGBA.White)
|
||||||
textHAlignment = HAlignment.Center
|
textHAlignment = HAlignment.Center
|
||||||
textVAlignment = VAlignment.Center
|
textVAlignment = VAlignment.Center
|
||||||
|
@ -510,6 +510,8 @@ public class Toolbar extends Dialog implements GameEventListener {
|
|||||||
|
|
||||||
// Farbe setzen
|
// Farbe setzen
|
||||||
playerLabel.setColor(playerColor);
|
playerLabel.setColor(playerColor);
|
||||||
|
|
||||||
|
playerLabel.setFontSize(20);
|
||||||
|
|
||||||
// Label zum Container hinzufügen
|
// Label zum Container hinzufügen
|
||||||
overviewContainer.addChild(playerLabel);
|
overviewContainer.addChild(playerLabel);
|
||||||
|
Loading…
Reference in New Issue
Block a user