You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.6 KiB
42 lines
1.6 KiB
<?import java.lang.*?>
|
|
<?import java.util.*?>
|
|
<?import javafx.scene.*?>
|
|
<?import javafx.scene.control.*?>
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.shape.Rectangle?>
|
|
<?import javafx.scene.shape.Circle?>
|
|
<GridPane xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" alignment="CENTER" fx:controller="view.FormAddPlayer" >
|
|
<padding><Insets top="25" right="25" bottom="30" left="25"/></padding>
|
|
|
|
<HBox>
|
|
<VBox alignment="CENTER" >
|
|
<HBox>
|
|
|
|
<VBox GridPane.halignment="CENTER">
|
|
<padding><Insets top="25" right="25" bottom="10" left="25"/></padding>
|
|
<Label text="player 1" GridPane.rowIndex="0" GridPane.columnIndex="0" />
|
|
<Label text="" fx:id="resP1" GridPane.rowIndex="0" GridPane.columnIndex="0" />
|
|
</VBox>
|
|
<VBox GridPane.halignment="CENTER">
|
|
<padding><Insets top="25" right="25" bottom="10" left="25"/></padding>
|
|
<Label text="player 2" GridPane.columnIndex="1" GridPane.rowIndex="0" />
|
|
<Label text="" fx:id="resP2" GridPane.rowIndex="0" GridPane.columnIndex="0" />
|
|
</VBox>
|
|
</HBox>
|
|
|
|
<Button fx:id="bouton" mnemonicParsing="false" text="Start"
|
|
GridPane.rowIndex="3" GridPane.columnIndex="0" GridPane.columnSpan="2" GridPane.halignment="CENTER"
|
|
onAction="#clickStartGame">
|
|
<BorderPane.margin>
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
</BorderPane.margin>
|
|
</Button>
|
|
</VBox>
|
|
<ListView fx:id="resList" ></ListView>
|
|
|
|
</HBox>
|
|
|
|
</GridPane> |