Advertisement
Spirit13300

ConnexionView.fxml

Jun 7th, 2018
2,664
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 7.29 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?import javafx.geometry.Insets?>
  4. <?import javafx.scene.control.Button?>
  5. <?import javafx.scene.control.Hyperlink?>
  6. <?import javafx.scene.control.PasswordField?>
  7. <?import javafx.scene.control.TextArea?>
  8. <?import javafx.scene.image.Image?>
  9. <?import javafx.scene.image.ImageView?>
  10. <?import javafx.scene.layout.ColumnConstraints?>
  11. <?import javafx.scene.layout.GridPane?>
  12. <?import javafx.scene.layout.RowConstraints?>
  13. <?import javafx.scene.shape.Rectangle?>
  14. <?import javafx.scene.text.Font?>
  15. <?import javafx.scene.text.Text?>
  16.  
  17. <fx:root alignment="TOP_LEFT" stylesheets="@ArmatureStyle.css" type="javafx.scene.layout.GridPane" vgap="40" xmlns="http://javafx.com/javafx/8.0.121" xmlns:fx="http://javafx.com/fxml/1">
  18.    <Rectangle arcHeight="5.0" arcWidth="5.0" height="250.0" opacity="0.19" stroke="BLACK" strokeType="INSIDE" width="700.0" GridPane.columnIndex="1" GridPane.rowIndex="2">
  19.       <GridPane.margin>
  20.          <Insets left="100.0" top="280.0" />
  21.       </GridPane.margin>
  22.    </Rectangle>
  23.     <Rectangle fx:id="menu" height="1090.0" width="270.0" GridPane.columnIndex="0" GridPane.rowIndex="0" GridPane.rowSpan="2147483647" />
  24.     <Rectangle fx:id="banniere" height="170.0" width="1200.0" GridPane.columnIndex="1" GridPane.rowIndex="0" />
  25.     <Text fx:id="banniereText" fill="WHITE" text="Seek'n'Play" GridPane.columnIndex="1" GridPane.rowIndex="0">
  26.         <GridPane.margin>
  27.             <Insets left="480.0" />
  28.         </GridPane.margin>
  29.         <font>
  30.             <Font size="36.0" />
  31.         </font></Text>
  32.     <ImageView fitWidth="150" preserveRatio="true" smooth="true" GridPane.columnIndex="0" GridPane.rowIndex="0">
  33.         <image>
  34.             <Image url="https://zupimages.net/up/18/21/08z7.png" />
  35.         </image>
  36.         <GridPane.margin>
  37.             <Insets left="60.0" />
  38.         </GridPane.margin>
  39.     </ImageView>
  40.     <ImageView fitWidth="150" preserveRatio="true" smooth="true" GridPane.columnIndex="1" GridPane.rowIndex="0">
  41.         <image>
  42.             <Image url="https://zupimages.net/up/18/22/do5r.jpg" />
  43.         </image>
  44.         <GridPane.margin>
  45.             <Insets left="750.0" />
  46.         </GridPane.margin>
  47.     </ImageView>
  48.     <ImageView fitWidth="150" preserveRatio="true" smooth="true" GridPane.columnIndex="1" GridPane.rowIndex="0">
  49.         <image>
  50.             <Image url="https://zupimages.net/up/18/22/do5r.jpg" />
  51.         </image>
  52.         <GridPane.margin>
  53.             <Insets left="250.0" />
  54.         </GridPane.margin>
  55.     </ImageView>
  56.     <Text fx:id="connexion" fill="WHITE" text="Connexion" GridPane.columnIndex="0" GridPane.columnSpan="8" GridPane.rowIndex="1">
  57.         <GridPane.margin>
  58.             <Insets left="78.0" />
  59.         </GridPane.margin>
  60.         <font>
  61.             <Font size="24.0" />
  62.         </font></Text>
  63.     <Text id="menu1" fx:id="menu1" fill="WHITE" text="Accueil" GridPane.columnIndex="0" GridPane.rowIndex="3">
  64.         <GridPane.margin>
  65.             <Insets left="105.0" />
  66.         </GridPane.margin>
  67.         <font>
  68.             <Font size="18.0" />
  69.         </font></Text>
  70.     <Text fx:id="menu2" fill="WHITE" text="Evénements" GridPane.rowIndex="6">
  71.         <GridPane.margin>
  72.             <Insets left="87.0" />
  73.         </GridPane.margin>
  74.         <font>
  75.             <Font size="18.0" />
  76.         </font></Text>
  77.     <Text fx:id="menu3" fill="WHITE" text="A venir" GridPane.rowIndex="7">
  78.         <GridPane.margin>
  79.             <Insets left="108.0" />
  80.         </GridPane.margin>
  81.         <font>
  82.             <Font size="18.0" />
  83.         </font></Text>
  84.     <Text fx:id="menu4" fill="WHITE" text="Classement" GridPane.rowIndex="8">
  85.         <GridPane.margin>
  86.             <Insets left="90.0" />
  87.         </GridPane.margin>
  88.         <font>
  89.             <Font size="18.0" />
  90.         </font></Text>
  91.     <Text fx:id="menu5" fill="WHITE" text="Inscription" GridPane.rowIndex="9">
  92.         <GridPane.margin>
  93.             <Insets left="95.0" />
  94.         </GridPane.margin>
  95.         <font>
  96.             <Font size="18.0" />
  97.         </font></Text>
  98.     <Text fx:id="menu6" fill="WHITE" text="Vos discussions" GridPane.rowIndex="10">
  99.         <GridPane.margin>
  100.             <Insets left="73.0" />
  101.         </GridPane.margin>
  102.         <font>
  103.             <Font size="18.0" />
  104.         </font></Text>
  105.  
  106.  
  107.     <Text fx:id="connexion1" fill="black" text="Connexion" GridPane.columnIndex="1" GridPane.rowIndex="2">
  108.  
  109.         <font>
  110.             <Font name="Arial" size="48.0" />
  111.         </font>
  112.         <GridPane.margin>
  113.             <Insets bottom="50.0" left="450.0" />
  114.         </GridPane.margin></Text>
  115.  
  116.     <Text fx:id="connexionUtilisateur" fill="black" text="Nom d'utilisateur :" GridPane.columnIndex="1" GridPane.rowIndex="3">
  117.         <font>
  118.             <Font name="Arial" size="20.0" />
  119.         </font>
  120.         <GridPane.margin>
  121.             <Insets left="190.0" />
  122.         </GridPane.margin></Text>
  123.     <Text fx:id="connexionPass" fill="black" text="Mot de passe :" GridPane.columnIndex="1" GridPane.rowIndex="4">
  124.         <font>
  125.             <Font name="Arial" size="20.0" />
  126.         </font>
  127.         <GridPane.margin>
  128.             <Insets left="216.0" />
  129.         </GridPane.margin></Text>
  130.  
  131.     <TextArea fx:id="connexionTapeEmail" maxHeight="30.0" maxWidth="300.0" minWidth="0.0" prefHeight="20.0" prefWidth="20.0" GridPane.columnIndex="1" GridPane.rowIndex="3">
  132.         <GridPane.margin>
  133.             <Insets left="400.0" />
  134.         </GridPane.margin>
  135.     </TextArea>
  136.     <PasswordField fx:id="connexionTapePass" maxHeight="40.0" maxWidth="300.0" minWidth="0.0" prefHeight="50.0" prefWidth="20.0" GridPane.columnIndex="1" GridPane.rowIndex="4">
  137.         <GridPane.margin>
  138.             <Insets left="400.0" />
  139.         </GridPane.margin>
  140.     </PasswordField>
  141.     <Hyperlink fx:id="connexionTapeLien" maxHeight="40.0" maxWidth="150.0" minWidth="0.0" prefHeight="50.0" prefWidth="20.0" text="Mot de passe oublié ?" GridPane.columnIndex="1" GridPane.rowIndex="5">
  142.         <GridPane.margin>
  143.             <Insets left="400.0" />
  144.         </GridPane.margin>
  145.       <font>
  146.          <Font size="14.0" />
  147.       </font>
  148.     </Hyperlink>
  149.     <Button fx:id="connexionTapeValider" maxHeight="50.0" maxWidth="150.0" minHeight="40.0" minWidth="50.0" prefHeight="50.0" prefWidth="200.0" text="Connexion" GridPane.columnIndex="1" GridPane.rowIndex="5">
  150.         <GridPane.margin>
  151.             <Insets left="600.0" />
  152.         </GridPane.margin>
  153.         <font>
  154.             <Font size="18.0" />
  155.         </font>
  156.  
  157.     </Button>
  158.  
  159.  
  160.  
  161.     <rowConstraints>
  162.         <RowConstraints />
  163.         <RowConstraints maxHeight="24.0" minHeight="0.0" prefHeight="24.0" />
  164.         <RowConstraints maxHeight="29.0" minHeight="0.0" prefHeight="0.0" />
  165.         <RowConstraints />
  166.         <RowConstraints />
  167.         <RowConstraints />
  168.         <RowConstraints />
  169.         <RowConstraints />
  170.         <RowConstraints />
  171.       <RowConstraints maxHeight="25.0" minHeight="0.0" prefHeight="25.0" />
  172.       <RowConstraints maxHeight="20.0" minHeight="0.0" prefHeight="20.0" />
  173.     </rowConstraints>
  174.    <columnConstraints>
  175.       <ColumnConstraints />
  176.       <ColumnConstraints />
  177.       <ColumnConstraints />
  178.       <ColumnConstraints />
  179.       <ColumnConstraints />
  180.       <ColumnConstraints />
  181.       <ColumnConstraints />
  182.       <ColumnConstraints />
  183.    </columnConstraints>
  184. </fx:root>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement