Skip to content
Snippets Groups Projects
hello-view.fxml 5.41 KiB
Newer Older
Till's avatar
Till committed
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Rectangle2D?>
Till's avatar
Till committed
<?import javafx.scene.control.Button?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.RowConstraints?>
Till's avatar
Till committed

<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="621.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.uni_hannover.swt.tictactoe.controller.MainController">
   <children>
      <GridPane gridLinesVisible="true" layoutX="14.0" layoutY="24.0" prefHeight="573.0" prefWidth="573.0">
        <columnConstraints>
          <ColumnConstraints hgrow="SOMETIMES" maxWidth="191.0" minWidth="10.0" prefWidth="191.0" />
          <ColumnConstraints hgrow="SOMETIMES" maxWidth="191.0" minWidth="0.0" prefWidth="191.0" />
            <ColumnConstraints hgrow="SOMETIMES" maxWidth="191.0" minWidth="0.0" prefWidth="191.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>
            <Button id="top-left" alignment="CENTER" mnemonicParsing="false" prefHeight="191.0" prefWidth="191.0" />
            <ImageView id="top-left_x" fitHeight="191.0" fitWidth="191.0" pickOnBounds="true">
               <image>
                  <Image url="@X.png" />
               </image>
               <viewport>
                  <Rectangle2D />
               </viewport>
            </ImageView>
            <ImageView id="top-left_o" disable="true" fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true">
               <image>
                  <Image url="@O.png" />
               </image></ImageView>
            <Button layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="191.0" prefWidth="191.0" GridPane.columnIndex="1" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="1" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="1" />
            <Button layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="191.0" prefWidth="191.0" GridPane.columnIndex="2" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="2" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="2" />
            <Button layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="191.0" prefWidth="191.0" GridPane.rowIndex="1" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.rowIndex="1" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.rowIndex="1" />
            <Button layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="191.0" prefWidth="191.0" GridPane.columnIndex="1" GridPane.rowIndex="1" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="1" GridPane.rowIndex="1" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="1" GridPane.rowIndex="1" />
            <Button layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="191.0" prefWidth="191.0" GridPane.columnIndex="2" GridPane.rowIndex="1" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="2" GridPane.rowIndex="1" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="2" GridPane.rowIndex="1" />
            <Button layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="191.0" prefWidth="191.0" GridPane.rowIndex="2" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.rowIndex="2" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.rowIndex="2" />
            <Button layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="191.0" prefWidth="191.0" GridPane.columnIndex="1" GridPane.rowIndex="2" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="1" GridPane.rowIndex="2" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="1" GridPane.rowIndex="2" />
            <Button layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="191.0" prefWidth="191.0" GridPane.columnIndex="2" GridPane.rowIndex="2" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="2" GridPane.rowIndex="2" />
            <ImageView fitHeight="191.0" fitWidth="191.0" pickOnBounds="true" preserveRatio="true" GridPane.columnIndex="2" GridPane.rowIndex="2" />
         </children>
      </GridPane>
   </children>
</Pane>