fixed header in ChoosePartner menu

This commit is contained in:
Yvonne Schmidt 2024-11-26 00:21:13 +01:00
parent 379803278b
commit 170227c97f

View File

@ -55,9 +55,9 @@ public class ChoosePartner extends Dialog {
mainContainer.setBackground(translucentWhiteBackground);
// Add title with background
Label headerLabel = mainContainer.addChild(new Label("Wähle deinen Handelspartner:", new ElementId("header")));
Label headerLabel = mainContainer.addChild(new Label("Wähle deinen Handelspartner:", new ElementId("label-Bold")));
headerLabel.setFontSize(40);
headerLabel.setBackground(translucentWhiteBackground);
headerLabel.setBackground(new QuadBackgroundComponent(new ColorRGBA(1.0f, 1.0f, 1.0f, 0.5f)));
// Dropdown for player selection
mainContainer.addChild(createDropdown());