aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/JavafxView/MainWindow.fxml
diff options
context:
space:
mode:
authorloic <git-account@loicguegan.fr>2016-09-22 22:14:50 +0200
committerloic <git-account@loicguegan.fr>2016-09-22 22:14:50 +0200
commit919746e58e22c4039ef2dd520b25054e791466c7 (patch)
tree76002cf4ca3f3eed5dd7cfa7c0d2395860cc8b28 /src/main/resources/JavafxView/MainWindow.fxml
parentcf931bc928fed780add07252f96c6dbb91b604ff (diff)
Add board bg
Diffstat (limited to 'src/main/resources/JavafxView/MainWindow.fxml')
-rw-r--r--src/main/resources/JavafxView/MainWindow.fxml11
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