mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-02-21 16:29:37 +01:00
fixed GateFieldPopUp
This commit is contained in:
parent
d18cea435c
commit
617d707df8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user