added another label styling

This commit is contained in:
Yvonne Schmidt 2024-11-29 06:55:59 +01:00
parent 5845254caa
commit 77da6679ef
2 changed files with 2 additions and 2 deletions

View File

@ -274,7 +274,7 @@ public class MonopolyApp extends SimpleApplication implements MonopolyClient, Ga
//logik zum wechselnden erscheinen und verschwinden beim drücken von B //TODO süäter entfernen
private void handleB(boolean isPressed) {
if (isPressed) {
Dialog tmp = new TimeOut(this);
Dialog tmp = new Bankrupt(this);
tmp.open();
}
}

View File

@ -49,7 +49,7 @@ public class Bankrupt extends Dialog {
backgroundContainer.setPreferredSize(bankruptContainer.getPreferredSize().addLocal(padding, padding, 0));
// Titel
Label gateFieldTitle = bankruptContainer.addChild(new Label("Vorsicht !", new ElementId("settings-title"))); //TODO Dicke Schrift
Label gateFieldTitle = bankruptContainer.addChild(new Label("Vorsicht !", new ElementId("warning-title")));
gateFieldTitle.setFontSize(48);
gateFieldTitle.setColor(ColorRGBA.Black);