65 rader
4,1 KiB
XML
65 rader
4,1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.RadioButton?>
|
|
<?import javafx.scene.control.TextField?>
|
|
<?import javafx.scene.control.ToggleGroup?>
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
<?import javafx.scene.layout.ColumnConstraints?>
|
|
<?import javafx.scene.layout.GridPane?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.RowConstraints?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.text.Font?>
|
|
<?import javafx.scene.text.Text?>
|
|
|
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="chatapp.View.ConnexionScreen">
|
|
<children>
|
|
<VBox prefHeight="400.0" prefWidth="600.0">
|
|
<children>
|
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0" style="-fx-background-color: #3299a8;">
|
|
<children>
|
|
<Text fill="#b0c926" strokeType="OUTSIDE" strokeWidth="0.0" text="ChatApp">
|
|
<font>
|
|
<Font name="OCR A Extended" size="48.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</HBox>
|
|
<HBox alignment="CENTER" prefHeight="304.0" prefWidth="598.0" style="-fx-background-color: #3299a8;">
|
|
<children>
|
|
<GridPane alignment="CENTER" prefHeight="275.0" prefWidth="448.0">
|
|
<columnConstraints>
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
</columnConstraints>
|
|
<rowConstraints>
|
|
<RowConstraints maxHeight="254.19998168945312" minHeight="10.0" prefHeight="111.80001831054688" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="217.80000152587894" minHeight="10.0" prefHeight="69.39998168945314" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="217.80000152587894" minHeight="10.0" prefHeight="33.60002441406249" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="217.80000152587894" minHeight="10.0" prefHeight="27.400000000000034" vgrow="SOMETIMES" />
|
|
<RowConstraints maxHeight="217.80000152587894" minHeight="10.0" prefHeight="79.39999999999998" vgrow="SOMETIMES" />
|
|
</rowConstraints>
|
|
<children>
|
|
<TextField fx:id="pseudonyme" prefHeight="26.0" prefWidth="447.0" promptText="Pseudonyme" GridPane.columnSpan="3" />
|
|
<Button fx:id="connexionButton" alignment="CENTER" contentDisplay="CENTER" mnemonicParsing="false" onAction="#connexion" prefHeight="38.0" prefWidth="453.0" style="-fx-background-color: #b0c926;" text="Connexion" textFill="#3299a8" GridPane.columnSpan="3" GridPane.rowIndex="1">
|
|
<font>
|
|
<Font name="OCR A Extended" size="27.0" />
|
|
</font>
|
|
</Button>
|
|
<RadioButton fx:id="remoteButton" mnemonicParsing="false" selected="true" text="Connexion distante" GridPane.columnIndex="1" GridPane.rowIndex="3">
|
|
<toggleGroup>
|
|
<ToggleGroup fx:id="lieu" />
|
|
</toggleGroup>
|
|
</RadioButton>
|
|
<RadioButton fx:id="localButton" mnemonicParsing="false" text="Connexion locale" toggleGroup="$lieu" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
|
</children>
|
|
</GridPane>
|
|
</children>
|
|
</HBox>
|
|
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="0.0" prefWidth="600.0" style="-fx-background-color: #3299a8;" />
|
|
</children>
|
|
</VBox>
|
|
</children>
|
|
</AnchorPane>
|