From c862492be357099a934975db9fa74365d2f8de1b Mon Sep 17 00:00:00 2001 From: schrom01 Date: Fri, 13 May 2022 15:57:39 +0200 Subject: [PATCH 1/2] fixes in Layout solved #34 --- .../turnierverwaltung/main/MainWindow.java | 2 + .../gameScheduleView/GameSchedule.fxml | 40 +++++++++++-------- 2 files changed, 26 insertions(+), 16 deletions(-) diff --git a/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/main/MainWindow.java b/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/main/MainWindow.java index 2f4b46b..82d4c0a 100644 --- a/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/main/MainWindow.java +++ b/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/main/MainWindow.java @@ -32,6 +32,8 @@ public class MainWindow extends Application { Scene scene = new Scene(pane); primaryStage.setScene(scene); + primaryStage.setMinHeight(600); + primaryStage.setMinWidth(800); primaryStage.setMaximized(true); primaryStage.setResizable(true); primaryStage.setFullScreen(false); diff --git a/app/src/main/resources/ch/zhaw/projekt2/turnierverwaltung/gameScheduleView/GameSchedule.fxml b/app/src/main/resources/ch/zhaw/projekt2/turnierverwaltung/gameScheduleView/GameSchedule.fxml index f3f9207..8fe7bac 100644 --- a/app/src/main/resources/ch/zhaw/projekt2/turnierverwaltung/gameScheduleView/GameSchedule.fxml +++ b/app/src/main/resources/ch/zhaw/projekt2/turnierverwaltung/gameScheduleView/GameSchedule.fxml @@ -1,15 +1,29 @@ - - - + + + + + + - + +
+ + + + + +
- + - - - + + -
- - - - - -
From 53cf3bdacc53649871ba8656ca1c4abab068b679 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Fri, 13 May 2022 15:58:58 +0200 Subject: [PATCH 2/2] rmeoved tournament Type GROUPS from Tournament Enum Type. --- .../java/ch/zhaw/projekt2/turnierverwaltung/Tournament.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/Tournament.java b/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/Tournament.java index 44b3817..276f201 100644 --- a/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/Tournament.java +++ b/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/Tournament.java @@ -252,7 +252,7 @@ public class Tournament implements Serializable { * (In the Prototype only the KO-System has full functionality */ public enum Type { - KO("KO-System"), GROUPS("Gruppenspiele"); + KO("KO-System"); //GROUPS("Gruppenspiele"); //Type GROUPS is not implemented in this prototype. private String name;