You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<VBox spacing= "12" xmlns= "http://javafx.com/javafx/21" xmlns:fx= "http://javafx.com/fxml/1" fx:controller= "com.coproject.controller.PasswordSetupController" stylesheets= "@../styles/app.css" prefWidth= "520" prefHeight= "380" >
<children >
<Label text= "设置密码" styleClass= "title" />
<GridPane hgap= "10" vgap= "10" >
<columnConstraints >
<ColumnConstraints percentWidth= "30" />
<ColumnConstraints percentWidth= "70" />
</columnConstraints>
<children >
<Label text= "密码" GridPane.rowIndex= "0" />
<PasswordField fx:id= "pass1Field" promptText= "6-10位, 含大小写+数字" GridPane.columnIndex= "1" />
<Label text= "确认密码" GridPane.rowIndex= "1" />
<PasswordField fx:id= "pass2Field" promptText= "再次输入" GridPane.columnIndex= "1" GridPane.rowIndex= "1" />
</children>
</GridPane>
<HBox spacing= "10" >
<Button text= "设置密码" onAction= "#onSetPassword" fx:id= "setBtn" />
<Button text= "返回登录" onAction= "#toLogin" />
</HBox>
<Label fx:id= "infoLabel" styleClass= "info" />
</children>
</VBox>