|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | +<?import java.lang.*?> |
| 4 | +<?import java.util.*?> |
| 5 | +<?import javafx.geometry.*?> |
| 6 | +<?import javafx.scene.control.*?> |
| 7 | +<?import javafx.scene.effect.*?> |
| 8 | +<?import javafx.scene.layout.*?> |
| 9 | +<?import javafx.scene.paint.*?> |
| 10 | +<?import javafx.scene.text.*?> |
| 11 | + |
| 12 | +<AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="250.0" prefWidth="400.0" |
| 13 | + xmlns:fx="http://javafx.com/fxml"> |
| 14 | + <children> |
| 15 | + <VBox layoutX="3.0" layoutY="0.0" prefHeight="250.0" prefWidth="390.0" spacing="20.0"> |
| 16 | + <children> |
| 17 | + <HBox minHeight="37.0" prefHeight="37.0" prefWidth="411.0"> |
| 18 | + <children> |
| 19 | + <Label text="登陆界面"> |
| 20 | + <effect> |
| 21 | + <DropShadow height="7.845238095238096" radius="4.1815476190476195" width="10.880952380952381" /> |
| 22 | + </effect> |
| 23 | + <font> |
| 24 | + <Font name="System Bold" size="30.0" /> |
| 25 | + </font> |
| 26 | + <HBox.margin> |
| 27 | + <Insets left="140.0" /> |
| 28 | + </HBox.margin> |
| 29 | + </Label> |
| 30 | + </children> |
| 31 | + </HBox> |
| 32 | + <GridPane alignment="TOP_RIGHT" prefWidth="380.0"> |
| 33 | + <children> |
| 34 | + <Label alignment="TOP_RIGHT" text="Account" GridPane.columnIndex="0" GridPane.halignment="RIGHT" GridPane.rowIndex="0"> |
| 35 | + <effect> |
| 36 | + <DropShadow blurType="TWO_PASS_BOX" height="7.845238095238096" radius="3.675595238095238" width="8.857142857142858" /> |
| 37 | + </effect> |
| 38 | + <font> |
| 39 | + <Font size="25.0" fx:id="x1" /> |
| 40 | + </font> |
| 41 | + <GridPane.margin> |
| 42 | + <Insets right="8.0" fx:id="x2" /> |
| 43 | + </GridPane.margin> |
| 44 | + </Label> |
| 45 | + <Label font="$x1" text="password" GridPane.columnIndex="0" GridPane.halignment="RIGHT" GridPane.margin="$x2" GridPane.rowIndex="1"> |
| 46 | + <effect> |
| 47 | + <DropShadow blurType="TWO_PASS_BOX" height="7.845238095238094" radius="3.6755952380952372" width="8.857142857142854" /> |
| 48 | + </effect> |
| 49 | + </Label> |
| 50 | + <TextField fx:id="tfAccount" prefHeight="26.0" prefWidth="268.0" promptText="please input your account" GridPane.columnIndex="1" GridPane.rowIndex="0" /> |
| 51 | + <PasswordField fx:id="pfPassword" prefWidth="223.0" promptText="please input your password" GridPane.columnIndex="1" GridPane.rowIndex="1" /> |
| 52 | + <Button id="btnLogin" mnemonicParsing="false" prefWidth="80.0" text="登陆" GridPane.columnIndex="0" GridPane.halignment="RIGHT" GridPane.rowIndex="2"> |
| 53 | + <effect> |
| 54 | + <DropShadow /> |
| 55 | + </effect> |
| 56 | + <GridPane.margin> |
| 57 | + <Insets top="15.0" /> |
| 58 | + </GridPane.margin> |
| 59 | + </Button> |
| 60 | + <Button id="btnClear" mnemonicParsing="false" prefWidth="80.0" text="清除" GridPane.columnIndex="1" GridPane.rowIndex="2"> |
| 61 | + <effect> |
| 62 | + <DropShadow /> |
| 63 | + </effect> |
| 64 | + <GridPane.margin> |
| 65 | + <Insets left="80.0" top="15.0" /> |
| 66 | + </GridPane.margin> |
| 67 | + </Button> |
| 68 | + </children> |
| 69 | + <columnConstraints> |
| 70 | + <ColumnConstraints hgrow="SOMETIMES" maxWidth="205.0" minWidth="10.0" prefWidth="147.0" /> |
| 71 | + <ColumnConstraints hgrow="SOMETIMES" maxWidth="318.0" minWidth="10.0" prefWidth="243.0" /> |
| 72 | + </columnConstraints> |
| 73 | + <rowConstraints> |
| 74 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 75 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 76 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 77 | + </rowConstraints> |
| 78 | + </GridPane> |
| 79 | + </children> |
| 80 | + <padding> |
| 81 | + <Insets top="30.0" /> |
| 82 | + </padding> |
| 83 | + </VBox> |
| 84 | + </children> |
| 85 | +</AnchorPane> |
0 commit comments