diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/BuyHouse.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/BuyHouse.java index c3632ce..1d9bfaa 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/BuyHouse.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/BuyHouse.java @@ -77,7 +77,7 @@ public class BuyHouse extends Dialog { backgroundContainer.setPreferredSize(buyHouseContainer.getPreferredSize().addLocal(padding, padding, 0)); // Title - Label title = buyHouseContainer.addChild(new Label("Gebäude Kaufen", new ElementId("warning-Bold"))); + Label title = buyHouseContainer.addChild(new Label("Gebäude Kaufen", new ElementId("label-Bold"))); title.setFontSize(48); title.setColor(ColorRGBA.Black); @@ -145,7 +145,7 @@ public class BuyHouse extends Dialog { private Container createPropertyDropdown() { Container dropdownContainer = new Container(new SpringGridLayout(Axis.Y, Axis.X)); dropdownContainer.setPreferredSize(new Vector3f(300, 200, 0)); - dropdownContainer.setBackground(new QuadBackgroundComponent(ColorRGBA.Orange)); + dropdownContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.0f, 0.0f, 0.0f, 1.0f))); VersionedList propertyOptions = new VersionedList<>(); List playerProperties = getPlayerProperties(); @@ -164,6 +164,7 @@ public class BuyHouse extends Dialog { // Initialize the selection display here selectionDisplay = new Label(""); selectionDisplay.setPreferredSize(new Vector3f(300, 30, 0)); + selectionDisplay.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f))); dropdownContainer.addChild(selectionDisplay); // Add it to the dropdown container // Set initial selection diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/RepayMortage.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/RepayMortage.java index dcd0a08..4d933fa 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/RepayMortage.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/RepayMortage.java @@ -82,7 +82,7 @@ public class RepayMortage extends Dialog { backgroundContainer.setPreferredSize(repayMortageContainer.getPreferredSize().addLocal(padding, padding, 0)); // Titel - Label title = repayMortageContainer.addChild(new Label( "Hypothek Abbezahlen", new ElementId("warining-Bold"))); + Label title = repayMortageContainer.addChild(new Label( "Hypothek Abbezahlen", new ElementId("label-Bold"))); title.setFontSize(48); title.setColor(ColorRGBA.Black); @@ -97,7 +97,7 @@ public class RepayMortage extends Dialog { upContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f))); middleContainer.setPreferredSize(new Vector3f(100, 150, 0)); - middleContainer.setBackground(new QuadBackgroundComponent(ColorRGBA.Orange)); + middleContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.0f, 0.0f, 0.0f, 1.0f))); middleContainer.addChild(createPropertyDropdown()); @@ -149,7 +149,7 @@ public class RepayMortage extends Dialog { private Container createPropertyDropdown() { Container dropdownContainer = new Container(new SpringGridLayout(Axis.Y, Axis.X)); dropdownContainer.setPreferredSize(new Vector3f(300, 200, 0)); - dropdownContainer.setBackground(new QuadBackgroundComponent(ColorRGBA.Orange)); + dropdownContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.0f, 0.0f, 0.0f, 1.0f))); VersionedList propertyOptions = new VersionedList<>(); List playerProperties = getPlayerProperties(); @@ -168,6 +168,7 @@ public class RepayMortage extends Dialog { // Initialize the selection display here selectionDisplay = new Label(""); // Create TextField for displaying selections selectionDisplay.setPreferredSize(new Vector3f(300, 30, 0)); + selectionDisplay.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f))); dropdownContainer.addChild(selectionDisplay); // Add it to the dropdown container // Set initial selection diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/SellHouse.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/SellHouse.java index 532de97..1509f9f 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/SellHouse.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/SellHouse.java @@ -82,7 +82,7 @@ public class SellHouse extends Dialog { backgroundContainer.setPreferredSize(sellhouseContainer.getPreferredSize().addLocal(padding, padding, 0)); // Titel - Label title = sellhouseContainer.addChild(new Label( "Gebäude Abreißen", new ElementId("warining-Bold"))); + Label title = sellhouseContainer.addChild(new Label( "Gebäude Abreißen", new ElementId("label-Bold"))); title.setFontSize(48); title.setColor(ColorRGBA.Black); @@ -155,7 +155,7 @@ public class SellHouse extends Dialog { private Container createPropertyDropdown() { Container dropdownContainer = new Container(new SpringGridLayout(Axis.Y, Axis.X)); dropdownContainer.setPreferredSize(new Vector3f(300, 200, 0)); - dropdownContainer.setBackground(new QuadBackgroundComponent(ColorRGBA.Orange)); + dropdownContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.0f, 0.0f, 0.0f, 1.0f))); VersionedList propertyOptions = new VersionedList<>(); List playerProperties = getPlayerProperties(); @@ -174,6 +174,7 @@ public class SellHouse extends Dialog { // Initialize the selection display here selectionDisplay = new Label(""); selectionDisplay.setPreferredSize(new Vector3f(300, 30, 0)); + selectionDisplay.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f))); dropdownContainer.addChild(selectionDisplay); // Add it to the dropdown container // Set initial selection diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/TakeMortage.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/TakeMortage.java index 19d333e..06c9f33 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/TakeMortage.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/popups/TakeMortage.java @@ -83,7 +83,7 @@ public class TakeMortage extends Dialog { backgroundContainer.setPreferredSize(takeMortageContainer.getPreferredSize().addLocal(padding, padding, 0)); // Titel - Label title = takeMortageContainer.addChild(new Label( "Hypothek aufnehmen", new ElementId("warining-Bold"))); + Label title = takeMortageContainer.addChild(new Label( "Hypothek aufnehmen", new ElementId("label-Bold"))); title.setFontSize(48); title.setColor(ColorRGBA.Black); @@ -150,7 +150,7 @@ public class TakeMortage extends Dialog { private Container createPropertyDropdown() { Container dropdownContainer = new Container(new SpringGridLayout(Axis.Y, Axis.X)); dropdownContainer.setPreferredSize(new Vector3f(300, 200, 0)); - dropdownContainer.setBackground(new QuadBackgroundComponent(ColorRGBA.Orange)); + dropdownContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.0f, 0.0f, 0.0f, 1.0f))); VersionedList propertyOptions = new VersionedList<>(); List playerProperties = getPlayerProperties(); @@ -174,6 +174,7 @@ public class TakeMortage extends Dialog { // Initialize the selection display here selectionDisplay = new Label(""); // Create TextField for displaying selections selectionDisplay.setPreferredSize(new Vector3f(300, 30, 0)); + selectionDisplay.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.4657f, 0.4735f, 0.4892f, 1.0f))); dropdownContainer.addChild(selectionDisplay); // Add it to the dropdown container // Set initial selection