mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-02-22 16:59:35 +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() {
|
private void createBackgroundContainer() {
|
||||||
backgroundContainer = new Container();
|
backgroundContainer = new Container();
|
||||||
backgroundContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.8657f, 0.8735f, 0.8892f, 1.0f))); // Light gray background
|
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) {
|
private void createGateFieldContainer(GateField field) {
|
||||||
gateFieldContainer = new Container();
|
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)));
|
gateFieldContainer.setBackground(new QuadBackgroundComponent(new ColorRGBA(0.8657f, 0.8735f, 0.8892f, 1.0f)));
|
||||||
|
|
||||||
// Title
|
// Title
|
||||||
|
Loading…
Reference in New Issue
Block a user