|
|
|
@ -3,23 +3,33 @@
|
|
|
|
|
<?import javafx.scene.*?>
|
|
|
|
|
<?import javafx.scene.control.*?>
|
|
|
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
|
<?import javafx.scene.layout.GridPane?>
|
|
|
|
|
|
|
|
|
|
<GridPane xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" >
|
|
|
|
|
<VBox style="-fx-padding: 10;">
|
|
|
|
|
<HBox>
|
|
|
|
|
<VBox style="-fx-padding: 10;">
|
|
|
|
|
|
|
|
|
|
<TextField promptText="hello"/>
|
|
|
|
|
</VBox>
|
|
|
|
|
<VBox style="-fx-padding: 10;">
|
|
|
|
|
<?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" hgap="10" vgap="10" >
|
|
|
|
|
<padding><Insets top="25" right="25" bottom="10" left="25"/></padding>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label text="player 1" GridPane.rowIndex="0" GridPane.columnIndex="0" />
|
|
|
|
|
<TextField GridPane.rowIndex="1" GridPane.columnIndex="0" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label text="player 2" GridPane.columnIndex="1" GridPane.rowIndex="0" />
|
|
|
|
|
<TextField GridPane.rowIndex="1" GridPane.columnIndex="1" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Button fx:id="boutonJ1" mnemonicParsing="false" text="Start"
|
|
|
|
|
GridPane.rowIndex="3" GridPane.columnIndex="0" GridPane.columnSpan="2" GridPane.halignment="CENTER">
|
|
|
|
|
<BorderPane.margin>
|
|
|
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
|
|
|
</BorderPane.margin>
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextField promptText="hello"/>
|
|
|
|
|
|
|
|
|
|
</VBox>
|
|
|
|
|
|
|
|
|
|
</HBox>
|
|
|
|
|
<Button text="Click me!" style="-fx-margin: 10;width:100%;" />
|
|
|
|
|
</VBox>
|
|
|
|
|
|
|
|
|
|
</GridPane>
|