Commit 3b03a586 authored by Audrick Libraire's avatar Audrick Libraire
Browse files

[ihm-main] modif playerprofil

parent 3d922306
...@@ -39,11 +39,27 @@ ...@@ -39,11 +39,27 @@
<Label id="pageTitleLabel" text="LIST OF IP" GridPane.columnIndex="0" GridPane.halignment="CENTER" GridPane.rowIndex="0" GridPane.valignment="CENTER" /> <Label id="pageTitleLabel" text="LIST OF IP" GridPane.columnIndex="0" GridPane.halignment="CENTER" GridPane.rowIndex="0" GridPane.valignment="CENTER" />
<Line fx:id="lineDesign" endX="100.0" startX="-100.0" styleClass="lineDesign" GridPane.halignment="CENTER" GridPane.valignment="BOTTOM" /> <Line fx:id="lineDesign" endX="100.0" startX="-100.0" styleClass="lineDesign" GridPane.halignment="CENTER" GridPane.valignment="BOTTOM" />
<TableView fx:id="ipList" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="1" /> <TableView fx:id="ipList" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="1" />
<Button fx:id="validateButton" mnemonicParsing="false" onAction="#validateList" text="VALIDATE AND RETURN" GridPane.columnIndex="0" GridPane.halignment="CENTER" GridPane.rowIndex="3" GridPane.valignment="CENTER">
<tooltip> <!-- -->
<Tooltip text="Click to validate the changes and go back to the menu." /> <GridPane id="ManageGrid" GridPane.rowIndex="3">
</tooltip> <columnConstraints>
</Button> <ColumnConstraints hgrow="SOMETIMES" percentWidth="35" />
<ColumnConstraints hgrow="SOMETIMES" percentWidth="30" />
<ColumnConstraints hgrow="SOMETIMES" percentWidth="35" />
</columnConstraints>
<rowConstraints>
<RowConstraints percentHeight="100.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Button fx:id="validateButton" maxWidth="Infinity" mnemonicParsing="false" onAction="#validateList" text="VALIDATE AND RETURN" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
<tooltip>
<Tooltip text="Click to validate the changes and go back to the menu." />
</tooltip>
</Button>
</children>
</GridPane>
<!-- -->
<GridPane GridPane.rowIndex="2"> <GridPane GridPane.rowIndex="2">
<columnConstraints> <columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" percentWidth="10.0" /> <ColumnConstraints hgrow="SOMETIMES" percentWidth="10.0" />
......
...@@ -43,12 +43,12 @@ ...@@ -43,12 +43,12 @@
<Tooltip text="Click to create a new local player account."/> <Tooltip text="Click to create a new local player account."/>
</tooltip> </tooltip>
</Button> </Button>
<Button fx:id="exitButton" onAction="#exitAction" text="Exit" GridPane.columnIndex="1" GridPane.rowIndex="6" GridPane.halignment="CENTER" maxWidth="Infinity"> <Button fx:id="exitButton" onAction="#exitAction" text="Exit" GridPane.columnIndex="2" GridPane.rowIndex="6" GridPane.halignment="CENTER" maxWidth="Infinity">
<tooltip> <tooltip>
<Tooltip text="Click to exit the application."/> <Tooltip text="Click to exit the application."/>
</tooltip> </tooltip>
</Button> </Button>
<Button fx:id="loginButton" defaultButton="true" onAction="#loginAction" text="Login" GridPane.columnIndex="2" GridPane.rowIndex="6" GridPane.halignment="CENTER" maxWidth="Infinity"> <Button fx:id="loginButton" defaultButton="true" onAction="#loginAction" text="Login" GridPane.columnIndex="1" GridPane.rowIndex="6" GridPane.halignment="CENTER" maxWidth="Infinity">
<tooltip> <tooltip>
<Tooltip text="Click to login once your username and password have been completed."/> <Tooltip text="Click to login once your username and password have been completed."/>
</tooltip> </tooltip>
......
...@@ -37,15 +37,15 @@ ...@@ -37,15 +37,15 @@
<Label id="pageTitleLabel" text="PLAYERS" GridPane.columnIndex="0" GridPane.halignment="CENTER" GridPane.rowIndex="0" GridPane.valignment="CENTER" /> <Label id="pageTitleLabel" text="PLAYERS" GridPane.columnIndex="0" GridPane.halignment="CENTER" GridPane.rowIndex="0" GridPane.valignment="CENTER" />
<GridPane id="ManageGrid" GridPane.rowIndex="2"> <GridPane id="ManageGrid" GridPane.rowIndex="2">
<columnConstraints> <columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" percentWidth="33.0" /> <ColumnConstraints hgrow="SOMETIMES" percentWidth="42.5" />
<ColumnConstraints hgrow="SOMETIMES" percentWidth="34.0" /> <ColumnConstraints hgrow="SOMETIMES" percentWidth="15.0" />
<ColumnConstraints hgrow="SOMETIMES" percentWidth="33.0" /> <ColumnConstraints hgrow="SOMETIMES" percentWidth="42.5" />
</columnConstraints> </columnConstraints>
<rowConstraints> <rowConstraints>
<RowConstraints percentHeight="100.0" vgrow="SOMETIMES" /> <RowConstraints percentHeight="100.0" vgrow="SOMETIMES" />
</rowConstraints> </rowConstraints>
<children> <children>
<Button fx:id="returnButton" mnemonicParsing="false" onAction="#returnMenu" text="RETURN" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="0" GridPane.valignment="CENTER"> <Button fx:id="returnButton" mnemonicParsing="false" maxWidth="Infinity" onAction="#returnMenu" text="RETURN" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="0" GridPane.valignment="CENTER">
<tooltip> <tooltip>
<Tooltip text="Click to go back to the menu." /> <Tooltip text="Click to go back to the menu." />
</tooltip> </tooltip>
......
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
<?import javafx.scene.control.*?> <?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?> <?import javafx.scene.layout.*?>
<!--
<GridPane alignment="CENTER" prefHeight="600.0" prefWidth="800.0" style="-fx-background-color: #061f30;" stylesheets="@../../styles/ihmmain.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.utclo23.ihmmain.controller.PlayerProfileController"> <GridPane alignment="CENTER" prefHeight="600.0" prefWidth="800.0" style="-fx-background-color: #061f30;" stylesheets="@../../styles/ihmmain.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.utclo23.ihmmain.controller.PlayerProfileController">
<children> <children>
<GridPane alignment="CENTER" prefHeight="0.0" prefWidth="800.0" GridPane.halignment="CENTER" GridPane.valignment="CENTER"> <GridPane alignment="CENTER" prefHeight="0.0" prefWidth="800.0" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
...@@ -43,13 +45,13 @@ ...@@ -43,13 +45,13 @@
<GridPane alignment="CENTER" prefHeight="257.0" prefWidth="282.0"> <GridPane alignment="CENTER" prefHeight="257.0" prefWidth="282.0">
<children> <children>
<Label alignment="CENTER" text="Nickname" /> <Label alignment="CENTER" text="Nickname" />
<Label fx:id="userID" text="--" GridPane.columnIndex="1" /> <Label fx:id="userID" text="" GridPane.columnIndex="1" />
<Label text="First Name" GridPane.rowIndex="1" /> <Label text="First Name" GridPane.rowIndex="1" />
<Label fx:id="firstNameText" text="--" GridPane.columnIndex="1" GridPane.rowIndex="1" /> <Label fx:id="firstNameText" text="" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Label text="Last Name" GridPane.rowIndex="2" /> <Label text="Last Name" GridPane.rowIndex="2" />
<Label fx:id="lastNameText" text="--" GridPane.columnIndex="1" GridPane.rowIndex="2" /> <Label fx:id="lastNameText" text="" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Label text="Birthday" GridPane.rowIndex="3" /> <Label text="Birthday" GridPane.rowIndex="3" />
<Label fx:id="birthdayText" text="--" GridPane.columnIndex="1" GridPane.rowIndex="3" /> <Label fx:id="birthdayText" text="" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<Label text="Password" GridPane.rowIndex="4" /> <Label text="Password" GridPane.rowIndex="4" />
<Button fx:id="playerName" mnemonicParsing="false" onAction="#edit" text="edit" GridPane.columnIndex="2" /> <Button fx:id="playerName" mnemonicParsing="false" onAction="#edit" text="edit" GridPane.columnIndex="2" />
<Button fx:id="firstName" mnemonicParsing="false" onAction="#edit" text="edit" GridPane.columnIndex="2" GridPane.rowIndex="1" /> <Button fx:id="firstName" mnemonicParsing="false" onAction="#edit" text="edit" GridPane.columnIndex="2" GridPane.rowIndex="1" />
...@@ -225,3 +227,240 @@ ...@@ -225,3 +227,240 @@
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints> </rowConstraints>
</GridPane> </GridPane>
-->
<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="600" minWidth="800" prefHeight="768" prefWidth="1368" id="generalGrid" stylesheets="@../../styles/ihmmain.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.utclo23.ihmmain.controller.PlayerProfileController">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" />
</columnConstraints>
<rowConstraints>
<RowConstraints percentHeight="10.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="10.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="70.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="10.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<!-- Title -->
<Label fx:id="pageTitleLabel" textAlignment="CENTER" text="User Profile" GridPane.columnIndex="0" GridPane.halignment="CENTER" GridPane.rowIndex="0" GridPane.valignment="CENTER" />
<Line fx:id="lineDesign" endX="100.0" startX="-100.0" styleClass="lineDesign" GridPane.halignment="CENTER" GridPane.valignment="BOTTOM" />
<!-- Body -->
<GridPane GridPane.rowIndex = "2">
<columnConstraints>
<ColumnConstraints percentWidth="100.0" hgrow="SOMETIMES"/>
</columnConstraints>
<rowConstraints>
<RowConstraints percentHeight="50.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="50.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<!-- First row ( picture, edit, description ) -->
<GridPane GridPane.rowIndex = "0">
<columnConstraints>
<ColumnConstraints percentWidth="33.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="34.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="33.0" hgrow="SOMETIMES"/>
</columnConstraints>
<rowConstraints>
<RowConstraints percentHeight="100.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<!-- Picture -->
<GridPane GridPane.columnIndex = "0">
<columnConstraints>
<ColumnConstraints percentWidth="100.0" hgrow="SOMETIMES"/>
</columnConstraints>
<rowConstraints>
<RowConstraints percentHeight="90.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="10.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<ImageView GridPane.rowIndex="0" GridPane.halignment="center" GridPane.valignment="center" fx:id="image" fitHeight="150.0" fitWidth="200.0" pickOnBounds="true" preserveRatio="true" />
<GridPane GridPane.rowIndex="1">
<columnConstraints>
<ColumnConstraints percentWidth="35.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="30.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="35.0" hgrow="SOMETIMES"/>
</columnConstraints>
<rowConstraints>
<RowConstraints percentHeight="100.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Button GridPane.columnIndex="1" maxWidth="Infinity" fx:id="avatar" mnemonicParsing="false" onAction="#editAvatar" text="Modify"/>
</children>
</GridPane>
</children>
</GridPane>
<!-- Edit -->
<GridPane GridPane.columnIndex = "1">
<columnConstraints>
<ColumnConstraints percentWidth="40.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="40.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="20.0" hgrow="SOMETIMES"/>
</columnConstraints>
<rowConstraints>
<RowConstraints percentHeight="20.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="20.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="20.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="20.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="20.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label alignment="CENTER" text="Nickname" GridPane.columnIndex="0" GridPane.rowIndex="0" />
<Label fx:id="userID" text="" GridPane.columnIndex="1" GridPane.rowIndex="0" />
<Label text="First Name" GridPane.columnIndex="0" GridPane.rowIndex="1" />
<Label fx:id="firstNameText" text="" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Label text="Last Name" GridPane.columnIndex="0" GridPane.rowIndex="2" />
<Label fx:id="lastNameText" text="" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Label text="Birthday" GridPane.columnIndex="0" GridPane.rowIndex="3" />
<Label fx:id="birthdayText" text="" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<Label text="Password" GridPane.columnIndex="0" GridPane.rowIndex="4" />
<Label fx:id="birthday1" text="******" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<Button fx:id="playerName" mnemonicParsing="false" onAction="#edit" text="edit" GridPane.columnIndex="2" />
<Button fx:id="firstName" mnemonicParsing="false" onAction="#edit" text="edit" GridPane.columnIndex="2" GridPane.rowIndex="1" />
<Button fx:id="lastName" mnemonicParsing="false" onAction="#edit" text="edit" GridPane.columnIndex="2" GridPane.rowIndex="2" />
<Button fx:id="birthday" mnemonicParsing="false" onAction="#edit" text="edit" GridPane.columnIndex="2" GridPane.rowIndex="3" />
<Button fx:id="password" mnemonicParsing="false" onAction="#edit" text="edit" GridPane.columnIndex="2" GridPane.rowIndex="4" />
</children>
</GridPane>
<!-- Description -->
<GridPane GridPane.columnIndex = "2">
<columnConstraints>
<ColumnConstraints percentWidth="90.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="10.0" hgrow="SOMETIMES"/>
</columnConstraints>
<rowConstraints>
<RowConstraints percentHeight="90.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="10.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<TextField GridPane.rowIndex="0" fx:id="description" editable="false" onKeyPressed="#closeEdit" prefHeight="144.0" prefWidth="219.0" text="Hello!" />
<GridPane GridPane.rowIndex="1">
<columnConstraints>
<ColumnConstraints percentWidth="35.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="30.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="35.0" hgrow="SOMETIMES"/>
</columnConstraints>
<rowConstraints>
<RowConstraints percentHeight="100.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Button GridPane.columnIndex="1" maxWidth="Infinity" fx:id="Description" mnemonicParsing="false" onAction="#editDescription" text="edit" />
</children>
</GridPane>
</children>
</GridPane>
</children>
</GridPane>
<!-- Second row ( stats and chart ) -->
<GridPane GridPane.rowIndex = "1">
<columnConstraints>
<ColumnConstraints percentWidth="5.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="40.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="10.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="40.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="5.0" hgrow="SOMETIMES"/>
</columnConstraints>
<rowConstraints>
<RowConstraints percentHeight="7.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="90.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="3.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<!-- Stats -->
<GridPane fx:id="statGrid" GridPane.columnIndex = "1" GridPane.rowIndex = "1">
<columnConstraints>
<ColumnConstraints percentWidth="20.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="20.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="20.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="20.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="20.0" hgrow="SOMETIMES"/>
</columnConstraints>
<rowConstraints>
<RowConstraints percentHeight="25.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="25.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="25.0" vgrow="SOMETIMES" />
<RowConstraints percentHeight="25.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text=" Total" GridPane.rowIndex="1"/>
<Label text=" Classical Mode" GridPane.rowIndex="2"/>
<Label text=" Belge Mode" GridPane.rowIndex="3"/>
<Label text="Played" GridPane.columnIndex="1" GridPane.halignment="center"/>
<Label text="Win" GridPane.columnIndex="2" GridPane.halignment="center"/>
<Label text="Loss" GridPane.columnIndex="3" GridPane.halignment="center"/>
<Label text="Abandoned" GridPane.columnIndex="4" GridPane.halignment="center"/>
<Label text="0" GridPane.columnIndex="1" GridPane.rowIndex="1" GridPane.halignment="center"/>
<Label text="0" GridPane.columnIndex="1" GridPane.rowIndex="2" GridPane.halignment="center"/>
<Label text="0" GridPane.columnIndex="1" GridPane.rowIndex="3" GridPane.halignment="center"/>
<Label text="0" GridPane.columnIndex="2" GridPane.rowIndex="1" GridPane.halignment="center"/>
<Label text="0" GridPane.columnIndex="2" GridPane.rowIndex="2" GridPane.halignment="center"/>
<Label text="0" GridPane.columnIndex="2" GridPane.rowIndex="3" GridPane.halignment="center"/>
<Label text="0" GridPane.columnIndex="3" GridPane.rowIndex="1" GridPane.halignment="center"/>
<Label text="0" GridPane.columnIndex="3" GridPane.rowIndex="2" GridPane.halignment="center"/>
<Label text="0" GridPane.columnIndex="3" GridPane.rowIndex="3" GridPane.halignment="center"/>
<Label text="0" GridPane.columnIndex="4" GridPane.rowIndex="1" GridPane.halignment="center"/>
<Label text="0" GridPane.columnIndex="4" GridPane.rowIndex="2" GridPane.halignment="center"/>
<Label text="0" GridPane.columnIndex="4" GridPane.rowIndex="3" GridPane.halignment="center"/>
</children>
</GridPane>
<!-- Charts -->
<GridPane GridPane.columnIndex="3" GridPane.rowIndex="1">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="33.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="34.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="33.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints percentHeight="100.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<PieChart fx:id="allMode" minHeight="-Infinity" minWidth="-Infinity" prefHeight="120.0" prefWidth="120.0" title="All Mode" titleSide="BOTTOM" />
<PieChart fx:id="classical" minHeight="-Infinity" minWidth="-Infinity" prefHeight="120.0" prefWidth="120.0" title="Classical" titleSide="BOTTOM" GridPane.columnIndex="1" />
<PieChart fx:id="belge" minHeight="-Infinity" minWidth="-Infinity" prefHeight="120.0" prefWidth="120.0" title="Belge" titleSide="BOTTOM" GridPane.columnIndex="2" />
</children>
</GridPane>
</children>
</GridPane>
</children>
</GridPane>
<!-- Button -->
<GridPane GridPane.rowIndex = "3">
<columnConstraints>
<ColumnConstraints percentWidth="30.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="15.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="10.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="15.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="30.0" hgrow="SOMETIMES"/>
</columnConstraints>
<rowConstraints>
<RowConstraints percentHeight="100.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Button GridPane.columnIndex="3" maxWidth="Infinity" fx:id="backButton" mnemonicParsing="false" onAction="#back" text="Return" GridPane.halignment="LEFT" GridPane.valignment="CENTER"/>
<Button GridPane.columnIndex="1" maxWidth="Infinity" fx:id="playerList" mnemonicParsing="false" onAction="#toPlayerList" text="Other Player" GridPane.valignment="CENTER" />
</children>
</GridPane>
</children>
</GridPane>
\ No newline at end of file
...@@ -36,16 +36,18 @@ ...@@ -36,16 +36,18 @@
<ScrollPane id="gameListPane" fx:id="gameListPane" fitToHeight="true" fitToWidth="true" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="1" /> <ScrollPane id="gameListPane" fx:id="gameListPane" fitToHeight="true" fitToWidth="true" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="1" />
<GridPane id="ManageGrid" GridPane.rowIndex="2"> <GridPane id="ManageGrid" GridPane.rowIndex="2">
<columnConstraints> <columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" percentWidth="34.0" /> <ColumnConstraints percentWidth="30.0" hgrow="SOMETIMES"/>
<ColumnConstraints hgrow="SOMETIMES" percentWidth="33.0" /> <ColumnConstraints percentWidth="15.0" hgrow="SOMETIMES"/>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="33.0" prefWidth="100.0" /> <ColumnConstraints percentWidth="10.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="15.0" hgrow="SOMETIMES"/>
<ColumnConstraints percentWidth="30.0" hgrow="SOMETIMES"/>
</columnConstraints> </columnConstraints>
<rowConstraints> <rowConstraints>
<RowConstraints percentHeight="100.0" vgrow="SOMETIMES" /> <RowConstraints percentHeight="100.0" vgrow="SOMETIMES" />
</rowConstraints> </rowConstraints>
<children> <children>
<Button fx:id="returnButton" mnemonicParsing="false" onAction="#returnMenu" text="RETURN" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.valignment="CENTER" /> <Button GridPane.columnIndex="3" maxWidth="Infinity" fx:id="returnButton" mnemonicParsing="false" onAction="#returnMenu" text="RETURN" GridPane.halignment="CENTER" GridPane.valignment="CENTER" />
<Button fx:id="watchButton" mnemonicParsing="false" onAction="#watchSelectedGame" text="Watch" GridPane.halignment="CENTER" GridPane.valignment="CENTER" /> <Button GridPane.columnIndex="1" maxWidth="Infinity" fx:id="watchButton" mnemonicParsing="false" onAction="#watchSelectedGame" text="Watch" GridPane.halignment="CENTER" GridPane.valignment="CENTER" />
</children> </children>
</GridPane> </GridPane>
<ImageView fx:id="avatarImageView" fitHeight="100.0" fitWidth="100.0" pickOnBounds="true" preserveRatio="true" GridPane.halignment="RIGHT" GridPane.valignment="CENTER"> <ImageView fx:id="avatarImageView" fitHeight="100.0" fitWidth="100.0" pickOnBounds="true" preserveRatio="true" GridPane.halignment="RIGHT" GridPane.valignment="CENTER">
......
...@@ -217,6 +217,7 @@ ...@@ -217,6 +217,7 @@
} }
.list-cell { .list-cell {
-fx-alignment: center;
-fx-background-color: #0D2E45;; -fx-background-color: #0D2E45;;
-fx-background-radius: 15px; -fx-background-radius: 15px;
-fx-text-fill: white; -fx-text-fill: white;
...@@ -225,4 +226,9 @@ ...@@ -225,4 +226,9 @@
/*Change the border color in case of error on textfield*/ /*Change the border color in case of error on textfield*/
.borderError{ .borderError{
-fx-border-color: #ef8d00; -fx-border-color: #ef8d00;
} }
\ No newline at end of file
#statGrid {
-fx-border-radius: 15px;
-fx-border-color: #ef8d00;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment