<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.PasswordField?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.ImageView?>
<?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?>

<AnchorPane prefHeight="354.0" prefWidth="613.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.zhangmeng.online.exam.ui.controller.LoginController">
    <children>
        <GridPane layoutX="485.0" layoutY="78.0" prefHeight="179.0" prefWidth="327.0" AnchorPane.bottomAnchor="97.0" AnchorPane.leftAnchor="125.0" AnchorPane.rightAnchor="161.0" AnchorPane.topAnchor="78.0">
            <columnConstraints>
                <ColumnConstraints hgrow="SOMETIMES" maxWidth="229.0" minWidth="10.0" prefWidth="81.0" />
                <ColumnConstraints hgrow="SOMETIMES" maxWidth="458.0" minWidth="10.0" prefWidth="276.0" />
            </columnConstraints>
            <rowConstraints>
                <RowConstraints maxHeight="174.0" minHeight="10.0" prefHeight="60.0" vgrow="SOMETIMES" />
                <RowConstraints maxHeight="206.0" minHeight="10.0" prefHeight="47.0" vgrow="SOMETIMES" />
                <RowConstraints maxHeight="238.0" minHeight="10.0" prefHeight="52.0" vgrow="SOMETIMES" />
            </rowConstraints>
            <children>
                <Label text="账号" />
                <Label text="密码" GridPane.rowIndex="1" />
                <TextField fx:id="username" prefHeight="26.0" prefWidth="306.0" GridPane.columnIndex="1" />
                <PasswordField fx:id="password" prefHeight="26.0" prefWidth="266.0" GridPane.columnIndex="1" GridPane.rowIndex="1" />
            <Label text="验证码" GridPane.rowIndex="2" />
            <HBox alignment="CENTER_LEFT" prefHeight="25.0" prefWidth="306.0" spacing="5.0" GridPane.columnIndex="1" GridPane.rowIndex="2">
               <children>
                  <TextField fx:id="verificationCode" prefHeight="27.0" prefWidth="165.0" />
                  <ImageView fx:id="captcha_image" fitHeight="40.0" fitWidth="136.0" pickOnBounds="true" preserveRatio="true" />
               </children>
            </HBox>
            </children>
        </GridPane>
          <Button fx:id="loginButton" layoutX="213.0" layoutY="266.0" mnemonicParsing="false" prefHeight="26.0" prefWidth="188.0" text="登录" />
    </children>
</AnchorPane>
