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.
math-paper-generator/target/classes/fxml/delete_account.fxml

25 lines
1.3 KiB

<?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.DeleteAccountController" stylesheets="@../styles/app.css" prefWidth="520" prefHeight="360">
<children>
<Label text="注销账号" styleClass="title" />
<GridPane hgap="10" vgap="10">
<columnConstraints>
<ColumnConstraints percentWidth="30" />
<ColumnConstraints percentWidth="70" />
</columnConstraints>
<children>
<Label text="邮箱" GridPane.rowIndex="0" />
<TextField fx:id="emailField" promptText="example@domain.com" GridPane.columnIndex="1" />
<Label text="密码" GridPane.rowIndex="1" />
<PasswordField fx:id="passwordField" promptText="请输入账号密码" GridPane.columnIndex="1" GridPane.rowIndex="1" />
</children>
</GridPane>
<HBox spacing="10">
<Button text="注销" onAction="#onDelete" fx:id="deleteBtn" />
<Button text="返回" onAction="#onBack" fx:id="backBtn" />
</HBox>
<Label fx:id="infoLabel" styleClass="info" />
</children>
</VBox>