test.fxml 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 2015, 2019, Gluon and/or its affiliates.
  4. All rights reserved. Use is subject to license terms.
  5. This file is available and licensed under the following license:
  6. Redistribution and use in source and binary forms, with or without
  7. modification, are permitted provided that the following conditions
  8. are met:
  9. - Redistributions of source code must retain the above copyright
  10. notice, this list of conditions and the following disclaimer.
  11. - Redistributions in binary form must reproduce the above copyright
  12. notice, this list of conditions and the following disclaimer in
  13. the documentation and/or other materials provided with the distribution.
  14. - Neither the name of Oracle Corporation nor the names of its
  15. contributors may be used to endorse or promote products derived
  16. from this software without specific prior written permission.
  17. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  18. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  19. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  20. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  21. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  22. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  23. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  24. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  25. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  26. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  27. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  28. -->
  29. <?import javafx.scene.control.Button?>
  30. <?import javafx.scene.control.Label?>
  31. <?import javafx.scene.control.TextField?>
  32. <?import javafx.scene.layout.AnchorPane?>
  33. <?import javafx.scene.layout.Pane?>
  34. <?import javafx.scene.text.Font?>
  35. <?import javafx.scene.text.TextFlow?>
  36. <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="175.0" prefWidth="250.0" style="-fx-background-color: #121212;" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.moviesdb.Controller">
  37. <children>
  38. <Label layoutX="14.0" layoutY="14.0" text="Log in" textFill="#9f9f9f">
  39. <font>
  40. <Font size="24.0" />
  41. </font>
  42. </Label>
  43. <TextField fx:id="userTextBox" layoutX="80.0" layoutY="49.0" style="-fx-background-color: #121212; -fx-text-fill: #9f9f9f;" />
  44. <TextField fx:id="passTextBox" layoutX="80.0" layoutY="92.0" style="-fx-background-color: #121212; -fx-text-fill: #9f9f9f;" />
  45. <Label layoutX="14.0" layoutY="55.0" text="Username" textFill="#9f9f9f">
  46. <font>
  47. <Font size="14.0" />
  48. </font></Label>
  49. <Label layoutX="14.0" layoutY="96.0" text="Password" textFill="#9f9f9f">
  50. <font>
  51. <Font size="14.0" />
  52. </font></Label>
  53. <Button fx:id="logInButton2" 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" />
  54. <Pane layoutX="80.0" layoutY="75.0" prefHeight="3.0" prefWidth="149.0" style="-fx-background-color: #9f9f9f;" />
  55. <Pane layoutX="80.0" layoutY="117.0" prefHeight="3.0" prefWidth="149.0" style="-fx-background-color: #9f9f9f;" />
  56. <TextFlow fx:id="errorTextBox" layoutX="14.0" layoutY="134.0" prefHeight="25.0" prefWidth="159.0" />
  57. </children>
  58. </AnchorPane>