diff options
Diffstat (limited to 'src/main/resources/JavafxView/MainWindow.fxml')
| -rw-r--r-- | src/main/resources/JavafxView/MainWindow.fxml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/main/resources/JavafxView/MainWindow.fxml b/src/main/resources/JavafxView/MainWindow.fxml index 5cf18e2..78354bf 100644 --- a/src/main/resources/JavafxView/MainWindow.fxml +++ b/src/main/resources/JavafxView/MainWindow.fxml @@ -8,13 +8,22 @@ <?import javafx.scene.canvas.Canvas?> <BorderPane fx:controller="controller.MainWindowController" - xmlns:fx="http://javafx.com/fxml" prefWidth="800" prefHeight="800"> + xmlns:fx="http://javafx.com/fxml" prefWidth="800" prefHeight="800" > <top> + <Text fx:id="score"/> </top> <center> <Canvas fx:id="boardCanvas" height="500" width="500" /> </center> + <bottom> + <GridPane alignment="CENTER"> + <padding><Insets top="25" right="25" bottom="50" left="25"/></padding> + <Button fx:id="restartButton" text="Restart" onAction="#restartGame" GridPane.rowIndex="0" GridPane.columnIndex="0"/> + + </GridPane> + + </bottom> </BorderPane>
\ No newline at end of file |
