fixed GateFieldPopUp

This commit is contained in:
Johannes Schmelz 2024-12-10 04:07:30 +01:00
parent d18cea435c
commit 617d707df8

View File

@ -53,7 +53,6 @@ public class GateFieldCard extends Dialog implements PopupDialog {
private void createBackgroundContainer() {
backgroundContainer = new Container();
backgroundContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.8657f, 0.8735f, 0.8892f, 1.0f))); // Light gray background
gateFieldContainer.setPreferredSize(new Vector3f(360,420,1));
}
/**
@ -63,6 +62,8 @@ public class GateFieldCard extends Dialog implements PopupDialog {
*/
private void createGateFieldContainer(GateField field) {
gateFieldContainer = new Container();
//TODO: Set the size of the container to the size of the screen @Simon
gateFieldContainer.setPreferredSize(new Vector3f(360,420,1));
gateFieldContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.8657f, 0.8735f, 0.8892f, 1.0f)));
// Title