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

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

@ -1,10 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import com.jfoenix.controls.*?>
<?import com.jfoenix.controls.JFXButton?>
<?import com.jfoenix.controls.JFXListView?>
<?import com.jfoenix.controls.JFXTextArea?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<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?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<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">
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</padding>
@ -15,66 +19,67 @@
<Font name="Microsoft YaHei" size="13.0" />
</font>
</JFXTextArea>
<HBox alignment="CENTER" prefHeight="39.0" prefWidth="454.0">
<VBox prefHeight="165.0" prefWidth="454.0" spacing="15.0">
<children>
<JFXButton onAction="#addNameFromScreen" prefHeight="35.0" prefWidth="176.0" text="从屏幕上截取名字">
<HBox.margin>
<Insets />
</HBox.margin>
<HBox alignment="CENTER" spacing="10.0">
<children>
<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="添加">
<font>
<Font name="Microsoft YaHei" size="17.0" />
</font>
</JFXButton>
<JFXButton onAction="#copyTo" prefHeight="35.0" prefWidth="176.0" text="粘贴剪贴板内容">
<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">
<font>
<Font name="Microsoft YaHei" size="17.0" />
</font>
</JFXButton>
</children>
</HBox>
<HBox alignment="CENTER" spacing="5.0">
<children>
<JFXButton fx:id="deleteName" onAction="#deleteName" prefHeight="36.0" prefWidth="120.0" ripplerFill="RED" text="删除所选" textFill="RED">
<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">
<font>
<Font name="Microsoft YaHei" size="17.0" />
</font>
</JFXButton>
<JFXButton fx:id="deleteAll" onAction="#deleteAllName" prefHeight="36.0" prefWidth="120.0" ripplerFill="RED" text="删除所有" textFill="RED">
</children>
</HBox>
<HBox alignment="CENTER" prefHeight="39.0" prefWidth="454.0" spacing="25.0">
<children>
<JFXButton buttonType="RAISED" onAction="#addNameFromScreen" prefHeight="35.0" prefWidth="176.0" style="-fx-background-color: rgb(255, 255, 255);" text="从屏幕上截取名字">
<HBox.margin>
<Insets />
</HBox.margin>
<font>
<Font name="Microsoft YaHei" size="17.0" />
</font>
</JFXButton>
<JFXButton onAction="#makeMass" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" text="打乱顺序">
<JFXButton buttonType="RAISED" onAction="#copyTo" prefHeight="35.0" prefWidth="176.0" style="-fx-background-color: rgb(255, 255, 255);" text="粘贴剪贴板内容">
<font>
<Font name="Microsoft YaHei" size="17.0" />
</font>
</JFXButton>
</children>
<padding>
<Insets left="3.0" top="3.0" />
</padding>
</HBox>
<HBox alignment="CENTER" spacing="5.0">
<HBox alignment="CENTER" spacing="10.0">
<children>
<JFXButton onAction="#exoprtNameList" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" text="备份">
<JFXButton buttonType="RAISED" onAction="#exoprtNameList" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" style="-fx-background-color: rgb(255, 255, 255);" text="备份">
<font>
<Font name="Microsoft YaHei" size="17.0" />
</font>
</JFXButton>
<JFXButton onAction="#importNameList" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" text="恢复">
<JFXButton buttonType="RAISED" onAction="#importNameList" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" style="-fx-background-color: rgb(255, 255, 255);" text="恢复">
<font>
<Font name="Microsoft YaHei" size="17.0" />
</font>
</JFXButton>
<JFXButton fx:id="addName" onAction="#addName" prefHeight="36.0" prefWidth="120.0" ripplerFill="#4997fc" text="添加">
<JFXButton buttonType="RAISED" onAction="#makeMass" prefHeight="28.0" prefWidth="120.0" ripplerFill="#4997fc" style="-fx-background-color: rgb(255, 255, 255);" text="打乱顺序">
<font>
<Font name="Microsoft YaHei" size="17.0" />
</font>
</JFXButton>
</children>
<padding>
<Insets left="3.0" top="3.0" />
<Insets right="3.0" />
</padding>
</HBox>
</children>
</VBox>
</children>
</fx:root>

Loading…
Cancel
Save