parent
							
								
									a6f14b94bd
								
							
						
					
					
						commit
						c862492be3
					
				| 
						 | 
					@ -32,6 +32,8 @@ public class MainWindow extends Application {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        Scene scene = new Scene(pane);
 | 
					        Scene scene = new Scene(pane);
 | 
				
			||||||
        primaryStage.setScene(scene);
 | 
					        primaryStage.setScene(scene);
 | 
				
			||||||
 | 
					        primaryStage.setMinHeight(600);
 | 
				
			||||||
 | 
					        primaryStage.setMinWidth(800);
 | 
				
			||||||
        primaryStage.setMaximized(true);
 | 
					        primaryStage.setMaximized(true);
 | 
				
			||||||
        primaryStage.setResizable(true);
 | 
					        primaryStage.setResizable(true);
 | 
				
			||||||
        primaryStage.setFullScreen(false);
 | 
					        primaryStage.setFullScreen(false);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,15 +1,29 @@
 | 
				
			||||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<?import javafx.geometry.*?>
 | 
					<?import javafx.geometry.Insets?>
 | 
				
			||||||
<?import javafx.scene.control.*?>
 | 
					<?import javafx.scene.control.Button?>
 | 
				
			||||||
<?import javafx.scene.layout.*?>
 | 
					<?import javafx.scene.control.CheckBox?>
 | 
				
			||||||
 | 
					<?import javafx.scene.control.ScrollPane?>
 | 
				
			||||||
 | 
					<?import javafx.scene.layout.BorderPane?>
 | 
				
			||||||
 | 
					<?import javafx.scene.layout.HBox?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<BorderPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.2" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ch.zhaw.projekt2.turnierverwaltung.main.gameScheduleView.GameScheduleController">
 | 
					<BorderPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ch.zhaw.projekt2.turnierverwaltung.main.gameScheduleView.GameScheduleController">
 | 
				
			||||||
 | 
					   <center>
 | 
				
			||||||
 | 
					      <ScrollPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER">
 | 
				
			||||||
 | 
					         <content>
 | 
				
			||||||
 | 
					            <HBox fx:id="hBoxCenter" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="324.0" prefWidth="600.0" />
 | 
				
			||||||
 | 
					         </content>
 | 
				
			||||||
 | 
					      </ScrollPane>
 | 
				
			||||||
 | 
					   </center>
 | 
				
			||||||
   <top>
 | 
					   <top>
 | 
				
			||||||
      <HBox alignment="TOP_RIGHT" prefHeight="100.0" prefWidth="200.0" BorderPane.alignment="CENTER">
 | 
					      <HBox alignment="CENTER_LEFT" prefHeight="100.0" prefWidth="200.0" BorderPane.alignment="CENTER">
 | 
				
			||||||
         <children>
 | 
					         <children>
 | 
				
			||||||
            <CheckBox fx:id="treeView" mnemonicParsing="false" onAction="#changeView" selected="true" text="Baumansicht" />
 | 
					            <CheckBox fx:id="treeView" mnemonicParsing="false" onAction="#changeView" selected="true" text="Baumansicht">
 | 
				
			||||||
            <Button fx:id="createScheduleBtn" mnemonicParsing="false" onAction="#createNewSchedule" text="Create New Game Schedule">
 | 
					               <HBox.margin>
 | 
				
			||||||
 | 
					                  <Insets left="20.0" right="20.0" />
 | 
				
			||||||
 | 
					               </HBox.margin>
 | 
				
			||||||
 | 
					            </CheckBox>
 | 
				
			||||||
 | 
					            <Button fx:id="createScheduleBtn" mnemonicParsing="false" onAction="#createNewSchedule" text="Spielplan neu erstellen">
 | 
				
			||||||
               <HBox.margin>
 | 
					               <HBox.margin>
 | 
				
			||||||
                  <Insets right="20.0" />
 | 
					                  <Insets right="20.0" />
 | 
				
			||||||
               </HBox.margin>
 | 
					               </HBox.margin>
 | 
				
			||||||
| 
						 | 
					@ -24,18 +38,12 @@
 | 
				
			||||||
                  <Insets right="20.0" />
 | 
					                  <Insets right="20.0" />
 | 
				
			||||||
               </HBox.margin>
 | 
					               </HBox.margin>
 | 
				
			||||||
            </Button>
 | 
					            </Button>
 | 
				
			||||||
            <Button fx:id="closeTournamentBtn" layoutX="470.0" layoutY="10.0" mnemonicParsing="false" onAction="#closeTournament" text="Close Tournament">
 | 
					            <Button fx:id="closeTournamentBtn" mnemonicParsing="false" onAction="#closeTournament" text="Close Tournament">
 | 
				
			||||||
               <HBox.margin>
 | 
					               <HBox.margin>
 | 
				
			||||||
                  <Insets right="20.0" />
 | 
					                  <Insets right="20.0" />
 | 
				
			||||||
               </HBox.margin></Button>
 | 
					               </HBox.margin>
 | 
				
			||||||
 | 
					            </Button>
 | 
				
			||||||
         </children>
 | 
					         </children>
 | 
				
			||||||
      </HBox>
 | 
					      </HBox>
 | 
				
			||||||
   </top>
 | 
					   </top>
 | 
				
			||||||
   <center>
 | 
					 | 
				
			||||||
      <ScrollPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER">
 | 
					 | 
				
			||||||
         <content>
 | 
					 | 
				
			||||||
            <HBox fx:id="hBoxCenter" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="324.0" prefWidth="600.0" />
 | 
					 | 
				
			||||||
         </content>
 | 
					 | 
				
			||||||
      </ScrollPane>
 | 
					 | 
				
			||||||
   </center>
 | 
					 | 
				
			||||||
</BorderPane>
 | 
					</BorderPane>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue