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.ChangePasswordController" 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= "oldPassField" GridPane.columnIndex= "1" />
<Label text= "新密码" GridPane.rowIndex= "1" />
<PasswordField fx:id= "newPass1Field" promptText= "6-10位, 含大小写+数字" GridPane.columnIndex= "1" GridPane.rowIndex= "1" />
<Label text= "确认新密码" GridPane.rowIndex= "2" />
<PasswordField fx:id= "newPass2Field" GridPane.columnIndex= "1" GridPane.rowIndex= "2" />
</children>
</GridPane>
<HBox spacing= "10" >
<Button text= "修改" onAction= "#onChange" fx:id= "changeBtn" />
<Button text= "返回" onAction= "#onBack" />
</HBox>
<Label fx:id= "infoLabel" styleClass= "info" />
</children>
</VBox>