retaillage des interfaces
This commit is contained in:
@@ -10,90 +10,144 @@
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<BorderPane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" styleClass="background" stylesheets="@style/menu.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.PlayersController">
|
||||
<BorderPane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="800.0" prefWidth="1280.0" styleClass="background" stylesheets="@style/menu.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.PlayersController">
|
||||
<bottom>
|
||||
<Button fx:id="btnCommencer" mnemonicParsing="false" onMouseClicked="#commencerJeux" styleClass="bouton" stylesheets="@style/menu.css" text="Commencer la partie" BorderPane.alignment="CENTER">
|
||||
<BorderPane.margin>
|
||||
<Insets bottom="10.0" />
|
||||
</BorderPane.margin></Button>
|
||||
</BorderPane.margin>
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font></Button>
|
||||
</bottom>
|
||||
<top>
|
||||
<VBox alignment="CENTER" prefHeight="119.0" prefWidth="600.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="titre" stylesheets="@style/menu.css" text="Entrez le nom des joueurs">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
<Font size="48.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label styleClass="titre" stylesheets="@style/menu.css" text="(Il faut au moins 4 joueurs)">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label styleClass="titre" stylesheets="@style/menu.css" text="Cochez la checkbox pour que le joueur soit un joueur virtuel" />
|
||||
<Label styleClass="titre" stylesheets="@style/menu.css" text="Cochez la checkbox pour que le joueur soit un joueur virtuel">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font></Label>
|
||||
</children>
|
||||
</VBox>
|
||||
</top>
|
||||
<left>
|
||||
<HBox alignment="CENTER_LEFT" prefHeight="256.0" prefWidth="306.0" BorderPane.alignment="CENTER">
|
||||
<HBox alignment="CENTER_LEFT" prefHeight="533.0" prefWidth="520.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<VBox alignment="CENTER_LEFT" prefHeight="200.0" prefWidth="100.0">
|
||||
<VBox alignment="CENTER_LEFT" prefHeight="533.0" prefWidth="1142.0">
|
||||
<children>
|
||||
<TextField />
|
||||
<TextField>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></TextField>
|
||||
<TextField>
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></TextField>
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></TextField>
|
||||
<TextField>
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></TextField>
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></TextField>
|
||||
<TextField>
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></TextField>
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></TextField>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox prefHeight="200.0" prefWidth="100.0">
|
||||
<VBox prefHeight="533.0" prefWidth="18.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="257.0" prefWidth="78.0">
|
||||
<VBox alignment="CENTER" prefHeight="533.0" prefWidth="258.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+" />
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
<Insets left="10.0" top="5.0" />
|
||||
</VBox.margin></Button>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></Button>
|
||||
<Insets left="10.0" top="5.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></Button>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></Button>
|
||||
<Insets left="10.0" top="5.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></Button>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
||||
<VBox.margin>
|
||||
<Insets left="10.0" top="5.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></Button>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER_LEFT" prefHeight="200.0" prefWidth="100.0">
|
||||
<VBox alignment="CENTER_LEFT" prefHeight="533.0" prefWidth="76.0">
|
||||
<children>
|
||||
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
|
||||
<padding>
|
||||
<Insets top="5.0" />
|
||||
</padding></CheckBox>
|
||||
</padding>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
<VBox.margin>
|
||||
<Insets left="10.0" />
|
||||
</VBox.margin></CheckBox>
|
||||
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
|
||||
<padding>
|
||||
<Insets top="15.0" />
|
||||
</padding></CheckBox>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
<VBox.margin>
|
||||
<Insets left="10.0" top="30.0" />
|
||||
</VBox.margin></CheckBox>
|
||||
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
|
||||
<padding>
|
||||
<Insets top="15.0" />
|
||||
</padding></CheckBox>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
<VBox.margin>
|
||||
<Insets left="10.0" top="30.0" />
|
||||
</VBox.margin></CheckBox>
|
||||
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
|
||||
<padding>
|
||||
<Insets top="15.0" />
|
||||
</padding></CheckBox>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
<VBox.margin>
|
||||
<Insets left="10.0" top="30.0" />
|
||||
</VBox.margin></CheckBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<BorderPane.margin>
|
||||
@@ -102,62 +156,98 @@
|
||||
</HBox>
|
||||
</left>
|
||||
<right>
|
||||
<HBox prefHeight="256.0" prefWidth="332.0" BorderPane.alignment="CENTER">
|
||||
<HBox prefHeight="533.0" prefWidth="656.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<HBox prefHeight="256.0" prefWidth="275.0">
|
||||
<HBox prefHeight="533.0" prefWidth="697.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER_LEFT" prefHeight="200.0" prefWidth="100.0">
|
||||
<VBox alignment="CENTER_LEFT" prefHeight="533.0" prefWidth="380.0">
|
||||
<children>
|
||||
<TextField />
|
||||
<TextField>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></TextField>
|
||||
<TextField>
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></TextField>
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></TextField>
|
||||
<TextField>
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></TextField>
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></TextField>
|
||||
<TextField>
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></TextField>
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></TextField>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+" />
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></Button>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></Button>
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></Button>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></Button>
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></Button>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="+">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></Button>
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></Button>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER_LEFT" prefHeight="200.0" prefWidth="100.0">
|
||||
<VBox alignment="CENTER_LEFT" prefHeight="533.0" prefWidth="194.0">
|
||||
<children>
|
||||
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></CheckBox>
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></CheckBox>
|
||||
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
|
||||
<VBox.margin>
|
||||
<Insets top="15.0" />
|
||||
</VBox.margin></CheckBox>
|
||||
<Insets top="30.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></CheckBox>
|
||||
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
|
||||
<VBox.margin>
|
||||
<Insets top="15.0" />
|
||||
</VBox.margin></CheckBox>
|
||||
<Insets top="30.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></CheckBox>
|
||||
<CheckBox mnemonicParsing="false" stylesheets="@style/menu.css">
|
||||
<VBox.margin>
|
||||
<Insets top="15.0" />
|
||||
</VBox.margin></CheckBox>
|
||||
<Insets top="30.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font></CheckBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
|
||||
Reference in New Issue
Block a user