LogInController.fxml 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?import javafx.scene.Cursor?>
  3. <?import javafx.scene.control.Button?>
  4. <?import javafx.scene.control.Label?>
  5. <?import javafx.scene.control.TextField?>
  6. <?import javafx.scene.layout.AnchorPane?>
  7. <?import javafx.scene.layout.BorderPane?>
  8. <?import javafx.scene.layout.Pane?>
  9. <?import javafx.scene.text.Font?>
  10. <?import javafx.scene.text.TextFlow?>
  11. <BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="0.0" prefHeight="204.0" prefWidth="260.0" stylesheets="@AddMovieWindowStyle.css" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.moviesdb.LogInController">
  12. <right>
  13. <Pane fx:id="borderRight" maxWidth="5.0" prefHeight="520.0" prefWidth="230.0" style="-fx-background-color: #121212;" BorderPane.alignment="CENTER">
  14. <cursor>
  15. <Cursor fx:constant="DEFAULT" />
  16. </cursor></Pane>
  17. </right>
  18. <bottom>
  19. <Pane fx:id="borderBottom" prefHeight="5.0" prefWidth="755.0" style="-fx-background-color: #121212;" BorderPane.alignment="CENTER">
  20. <cursor>
  21. <Cursor fx:constant="DEFAULT" />
  22. </cursor></Pane>
  23. </bottom>
  24. <center>
  25. <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="175.0" prefWidth="250.0" style="-fx-background-color: #212121;" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1">
  26. <children>
  27. <Label layoutX="14.0" layoutY="14.0" text="Log in" textFill="#9f9f9f">
  28. <font>
  29. <Font size="24.0" />
  30. </font>
  31. </Label>
  32. <TextField fx:id="userTextBox1" layoutX="80.0" layoutY="49.0" style="-fx-background-color: transparent; -fx-text-fill: #9f9f9f;" />
  33. <TextField fx:id="passTextBox1" layoutX="80.0" layoutY="92.0" style="-fx-background-color: transparent; -fx-text-fill: #9f9f9f;" />
  34. <Label layoutX="14.0" layoutY="55.0" text="Username" textFill="#9f9f9f">
  35. <font>
  36. <Font size="14.0" />
  37. </font></Label>
  38. <Label layoutX="14.0" layoutY="96.0" text="Password" textFill="#9f9f9f">
  39. <font>
  40. <Font size="14.0" />
  41. </font></Label>
  42. <Button fx:id="logInButton21" layoutX="190.0" layoutY="141.0" mnemonicParsing="false" onMouseClicked="#closeLoginForm" style="-fx-background-color: #9f9f9f;" text="Sign in" AnchorPane.bottomAnchor="15.0" AnchorPane.rightAnchor="15.0" />
  43. <Pane layoutX="80.0" layoutY="75.0" prefHeight="3.0" prefWidth="149.0" style="-fx-background-color: #9f9f9f;" />
  44. <Pane layoutX="80.0" layoutY="117.0" prefHeight="3.0" prefWidth="149.0" style="-fx-background-color: #9f9f9f;" />
  45. <TextFlow fx:id="errorTextBox" layoutX="14.0" layoutY="134.0" prefHeight="25.0" prefWidth="159.0" />
  46. </children>
  47. </AnchorPane>
  48. </center>
  49. <left>
  50. <Pane fx:id="borderLeft" maxWidth="5.0" prefWidth="10.0" style="-fx-background-color: #121212;" BorderPane.alignment="CENTER">
  51. <cursor>
  52. <Cursor fx:constant="DEFAULT" />
  53. </cursor></Pane>
  54. </left>
  55. <top>
  56. <AnchorPane fx:id="borderTop" maxHeight="24.0" prefHeight="24.0" style="-fx-background-color: #121212;" BorderPane.alignment="CENTER">
  57. <children>
  58. <Label fx:id="closeButton" onMouseClicked="#closeStage" prefHeight="16.0" prefWidth="16.0" AnchorPane.bottomAnchor="4.0" AnchorPane.rightAnchor="4.0" AnchorPane.topAnchor="4.0">
  59. <font>
  60. <Font name="Arimo" size="12.0" />
  61. </font>
  62. </Label>
  63. <Label fx:id="minimizeButton" onMouseClicked="#minimizeStage" prefHeight="16.0" prefWidth="16.0" AnchorPane.bottomAnchor="4.0" AnchorPane.rightAnchor="24.0" AnchorPane.topAnchor="4.0">
  64. <font>
  65. <Font name="Arimo" size="12.0" />
  66. </font>
  67. </Label>
  68. <Label layoutX="10.0" layoutY="2.0" text="Title" textFill="#9f9f9f" visible="false" AnchorPane.bottomAnchor="2.0" AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="2.0">
  69. <font>
  70. <Font size="14.0" />
  71. </font>
  72. </Label>
  73. </children>
  74. <cursor>
  75. <Cursor fx:constant="DEFAULT" />
  76. </cursor>
  77. </AnchorPane>
  78. </top>
  79. </BorderPane>