稍微调整名单管理界面的UI

main
lensfrex 3 years ago
parent e7a2d1f343
commit 2cd4b2c2d4
No known key found for this signature in database
GPG Key ID: E10FF75B77E1924D
  1. 165
      Dogename/src/main/resources/me/lensferno/dogename/FXMLs/NameManagerPane.fxml

@ -1,80 +1,85 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<?import com.jfoenix.controls.*?> <?import com.jfoenix.controls.JFXButton?>
<?import javafx.geometry.Insets?> <?import com.jfoenix.controls.JFXListView?>
<?import javafx.scene.layout.*?> <?import com.jfoenix.controls.JFXTextArea?>
<?import javafx.scene.text.*?> <?import javafx.geometry.Insets?>
<fx:root maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="498.0" prefWidth="474.0" spacing="15.0" type="VBox" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"> <?import javafx.scene.layout.HBox?>
<padding> <?import javafx.scene.layout.VBox?>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> <?import javafx.scene.text.Font?>
</padding>
<children> <fx:root maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="497.0" prefWidth="474.0" spacing="20.0" type="VBox" xmlns="http://javafx.com/javafx/8.0.231" xmlns:fx="http://javafx.com/fxml/1">
<JFXListView fx:id="nameList" prefHeight="149.0" /> <padding>
<JFXTextArea fx:id="inputName" focusColor="#0086ff" labelFloat="true" prefHeight="104.0" promptText="请输入要添加的名字,如需批量添加请一行一个名字。"> <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
<font> </padding>
<Font name="Microsoft YaHei" size="13.0" /> <children>
</font> <JFXListView fx:id="nameList" prefHeight="149.0" />
</JFXTextArea> <JFXTextArea fx:id="inputName" focusColor="#0086ff" labelFloat="true" prefHeight="104.0" promptText="请输入要添加的名字,如需批量添加请一行一个名字。">
<HBox alignment="CENTER" prefHeight="39.0" prefWidth="454.0"> <font>
<children> <Font name="Microsoft YaHei" size="13.0" />
<JFXButton onAction="#addNameFromScreen" prefHeight="35.0" prefWidth="176.0" text="从屏幕上截取名字"> </font>
<HBox.margin> </JFXTextArea>
<Insets /> <VBox prefHeight="165.0" prefWidth="454.0" spacing="15.0">
</HBox.margin> <children>
<font> <HBox alignment="CENTER" spacing="10.0">
<Font name="Microsoft YaHei" size="17.0" /> <children>
</font> <JFXButton fx:id="addName" buttonType="RAISED" onAction="#addName" prefHeight="36.0" prefWidth="120.0" ripplerFill="#4997fc" style="-fx-background-color: rgb(255, 255, 255);" text="添加">
</JFXButton> <font>
<JFXButton onAction="#copyTo" prefHeight="35.0" prefWidth="176.0" text="粘贴剪贴板内容"> <Font name="Microsoft YaHei" size="17.0" />
<font> </font>
<Font name="Microsoft YaHei" size="17.0" /> </JFXButton>
</font> <JFXButton fx:id="deleteName" buttonType="RAISED" onAction="#deleteName" prefHeight="36.0" prefWidth="120.0" ripplerFill="RED" style="-fx-background-color: rgb(255, 224, 224);" text="删除所选" textFill="RED">
</JFXButton> <font>
</children> <Font name="Microsoft YaHei" size="17.0" />
</HBox> </font>
<HBox alignment="CENTER" spacing="5.0"> </JFXButton>
<children> <JFXButton fx:id="deleteAll" buttonType="RAISED" onAction="#deleteAllName" prefHeight="36.0" prefWidth="120.0" ripplerFill="RED" style="-fx-background-color: rgb(255, 224, 224);" text="删除所有" textFill="RED">
<JFXButton fx:id="deleteName" onAction="#deleteName" prefHeight="36.0" prefWidth="120.0" ripplerFill="RED" text="删除所选" textFill="RED"> <font>
<font> <Font name="Microsoft YaHei" size="17.0" />
<Font name="Microsoft YaHei" size="17.0" /> </font>
</font> </JFXButton>
</JFXButton> </children>
<JFXButton fx:id="deleteAll" onAction="#deleteAllName" prefHeight="36.0" prefWidth="120.0" ripplerFill="RED" text="删除所有" textFill="RED"> </HBox>
<font> <HBox alignment="CENTER" prefHeight="39.0" prefWidth="454.0" spacing="25.0">
<Font name="Microsoft YaHei" size="17.0" /> <children>
</font> <JFXButton buttonType="RAISED" onAction="#addNameFromScreen" prefHeight="35.0" prefWidth="176.0" style="-fx-background-color: rgb(255, 255, 255);" text="从屏幕上截取名字">
</JFXButton> <HBox.margin>
<JFXButton onAction="#makeMass" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" text="打乱顺序"> <Insets />
<font> </HBox.margin>
<Font name="Microsoft YaHei" size="17.0" /> <font>
</font> <Font name="Microsoft YaHei" size="17.0" />
</JFXButton> </font>
</children> </JFXButton>
<padding> <JFXButton buttonType="RAISED" onAction="#copyTo" prefHeight="35.0" prefWidth="176.0" style="-fx-background-color: rgb(255, 255, 255);" text="粘贴剪贴板内容">
<Insets left="3.0" top="3.0" /> <font>
</padding> <Font name="Microsoft YaHei" size="17.0" />
</HBox> </font>
<HBox alignment="CENTER" spacing="5.0"> </JFXButton>
<children> </children>
<JFXButton onAction="#exoprtNameList" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" text="备份"> </HBox>
<font> <HBox alignment="CENTER" spacing="10.0">
<Font name="Microsoft YaHei" size="17.0" /> <children>
</font> <JFXButton buttonType="RAISED" onAction="#exoprtNameList" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" style="-fx-background-color: rgb(255, 255, 255);" text="备份">
</JFXButton> <font>
<JFXButton onAction="#importNameList" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" text="恢复"> <Font name="Microsoft YaHei" size="17.0" />
<font> </font>
<Font name="Microsoft YaHei" size="17.0" /> </JFXButton>
</font> <JFXButton buttonType="RAISED" onAction="#importNameList" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" style="-fx-background-color: rgb(255, 255, 255);" text="恢复">
</JFXButton> <font>
<JFXButton fx:id="addName" onAction="#addName" prefHeight="36.0" prefWidth="120.0" ripplerFill="#4997fc" text="添加"> <Font name="Microsoft YaHei" size="17.0" />
<font> </font>
<Font name="Microsoft YaHei" size="17.0" /> </JFXButton>
</font> <JFXButton buttonType="RAISED" onAction="#makeMass" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" style="-fx-background-color: rgb(255, 255, 255);" text="打乱顺序">
</JFXButton> <font>
</children> <Font name="Microsoft YaHei" size="17.0" />
<padding> </font>
<Insets left="3.0" top="3.0" /> </JFXButton>
</padding> </children>
</HBox> <padding>
</children> <Insets right="3.0" />
</fx:root> </padding>
</HBox>
</children>
</VBox>
</children>
</fx:root>

Loading…
Cancel
Save