|
@@ -1,38 +1,47 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
|
|
+<?import javafx.geometry.Insets?>
|
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.Button?>
|
|
|
<?import javafx.scene.control.ScrollPane?>
|
|
<?import javafx.scene.control.ScrollPane?>
|
|
|
-<?import javafx.scene.image.ImageView?>
|
|
|
|
|
<?import javafx.scene.layout.ColumnConstraints?>
|
|
<?import javafx.scene.layout.ColumnConstraints?>
|
|
|
<?import javafx.scene.layout.GridPane?>
|
|
<?import javafx.scene.layout.GridPane?>
|
|
|
<?import javafx.scene.layout.RowConstraints?>
|
|
<?import javafx.scene.layout.RowConstraints?>
|
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
<?import javafx.scene.text.TextFlow?>
|
|
<?import javafx.scene.text.TextFlow?>
|
|
|
|
|
|
|
|
-<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/25">
|
|
|
|
|
- <columnConstraints>
|
|
|
|
|
- <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
- </columnConstraints>
|
|
|
|
|
- <rowConstraints>
|
|
|
|
|
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
- <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
- </rowConstraints>
|
|
|
|
|
- <children>
|
|
|
|
|
- <ScrollPane>
|
|
|
|
|
- <content>
|
|
|
|
|
- <TextFlow />
|
|
|
|
|
- </content>
|
|
|
|
|
- </ScrollPane>
|
|
|
|
|
- <ImageView fitHeight="150.0" fitWidth="200.0" pickOnBounds="true" preserveRatio="true" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="CENTER" />
|
|
|
|
|
- <ScrollPane fitToWidth="true" GridPane.rowIndex="2">
|
|
|
|
|
- <content>
|
|
|
|
|
- <VBox>
|
|
|
|
|
- <children>
|
|
|
|
|
- <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="Button" />
|
|
|
|
|
- </children>
|
|
|
|
|
- </VBox>
|
|
|
|
|
- </content>
|
|
|
|
|
- </ScrollPane>
|
|
|
|
|
- </children>
|
|
|
|
|
-</GridPane>
|
|
|
|
|
|
|
+<GridPane fx:controller="eu.oschl.gui.GameController"
|
|
|
|
|
+ xmlns:fx="http://javafx.com/fxml/1"
|
|
|
|
|
+ xmlns="http://javafx.com/javafx/25">
|
|
|
|
|
+
|
|
|
|
|
+ <columnConstraints>
|
|
|
|
|
+ <ColumnConstraints hgrow="ALWAYS"/>
|
|
|
|
|
+ </columnConstraints>
|
|
|
|
|
+
|
|
|
|
|
+ <rowConstraints>
|
|
|
|
|
+ <RowConstraints minHeight="10.0" vgrow="ALWAYS" percentHeight="75.0" />
|
|
|
|
|
+ <RowConstraints minHeight="10.0" vgrow="ALWAYS" percentHeight="25.0" />
|
|
|
|
|
+ </rowConstraints>
|
|
|
|
|
+
|
|
|
|
|
+ <ScrollPane fitToWidth="true" hbarPolicy="NEVER">
|
|
|
|
|
+ <TextFlow fx:id="output">
|
|
|
|
|
+ <padding>
|
|
|
|
|
+ <Insets top="10.0" right="10.0" bottom="10.0" left="10.0"/>
|
|
|
|
|
+ </padding>
|
|
|
|
|
+ </TextFlow>
|
|
|
|
|
+ </ScrollPane>
|
|
|
|
|
+
|
|
|
|
|
+ <ScrollPane fitToWidth="true" GridPane.rowIndex="1">
|
|
|
|
|
+ <VBox spacing="5.0">
|
|
|
|
|
+
|
|
|
|
|
+ <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="Button 1" onAction="#onTestButtonClick"/>
|
|
|
|
|
+ <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="Button 2" onAction="#onTestButtonClick"/>
|
|
|
|
|
+ <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="Button 3" onAction="#onTestButtonClick"/>
|
|
|
|
|
+ <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="Button 4" onAction="#onTestButtonClick"/>
|
|
|
|
|
+ <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="Button 5" onAction="#onTestButtonClick"/>
|
|
|
|
|
+
|
|
|
|
|
+ <padding>
|
|
|
|
|
+ <Insets top="10.0" right="10.0" bottom="10.0" left="10.0"/>
|
|
|
|
|
+ </padding>
|
|
|
|
|
+ </VBox>
|
|
|
|
|
+ </ScrollPane>
|
|
|
|
|
+</GridPane>
|