|
2 | 2 |
|
3 | 3 | <?import javafx.geometry.Insets?> |
4 | 4 | <?import javafx.scene.control.Button?> |
| 5 | +<?import javafx.scene.control.Label?> |
5 | 6 | <?import javafx.scene.control.SplitPane?> |
6 | 7 | <?import javafx.scene.control.TableColumn?> |
7 | 8 | <?import javafx.scene.control.TableView?> |
| 9 | +<?import javafx.scene.control.TextField?> |
8 | 10 | <?import javafx.scene.layout.AnchorPane?> |
9 | 11 | <?import javafx.scene.layout.BorderPane?> |
10 | 12 | <?import javafx.scene.layout.HBox?> |
11 | 13 | <?import javafx.scene.layout.VBox?> |
12 | 14 |
|
13 | | -<AnchorPane prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.xwintop.xJavaFxTool.controller.littleTools.FileRenameToolController"> |
| 15 | +<AnchorPane prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.xwintop.xJavaFxTool.controller.littleTools.FileRenameToolController"> |
14 | 16 | <children> |
15 | 17 | <BorderPane layoutX="154.0" layoutY="100.0" prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0"> |
16 | 18 | <top> |
|
27 | 29 | </HBox> |
28 | 30 | </top> |
29 | 31 | <center> |
30 | | - <SplitPane dividerPositions="0.5" orientation="VERTICAL" BorderPane.alignment="CENTER"> |
| 32 | + <SplitPane dividerPositions="0.5, 0.5" orientation="VERTICAL" BorderPane.alignment="CENTER"> |
31 | 33 | <items> |
32 | | - <VBox prefHeight="200.0" prefWidth="100.0" spacing="10.0"> |
| 34 | + <VBox alignment="CENTER" maxHeight="100.0" minHeight="100.0" prefHeight="100.0" spacing="5.0"> |
| 35 | + <children> |
| 36 | + <HBox alignment="CENTER_LEFT" spacing="5.0"> |
| 37 | + <children> |
| 38 | + <Label text="格式化:" /> |
| 39 | + <TextField fx:id="filePrefixTextField" promptText="文件前缀" /> |
| 40 | + <TextField fx:id="filePostfixTextField" promptText="文件后缀" /> |
| 41 | + <TextField fx:id="startNumberOfRenameTab" promptText="开始数字" /> |
| 42 | + </children> |
| 43 | + </HBox> |
| 44 | + <HBox alignment="CENTER_LEFT" spacing="5.0"> |
| 45 | + <children> |
| 46 | + <Label text="替换文本:" /> |
| 47 | + <TextField fx:id="fileQueryStringOfRenameTab" promptText="查找" /> |
| 48 | + <TextField fx:id="fileReplaceStringOfRenameTab" promptText="替换成" /> |
| 49 | + </children> |
| 50 | + </HBox> |
| 51 | + <HBox alignment="CENTER_LEFT" spacing="5.0"> |
| 52 | + <children> |
| 53 | + <Label text="添加文本:" /> |
| 54 | + <TextField fx:id="filePrefixAddableText" promptText="文件名称之前内容" /> |
| 55 | + <TextField fx:id="filePostfixAddableText" promptText="文件名称之后内容" /> |
| 56 | + </children> |
| 57 | + </HBox> |
| 58 | + </children> |
| 59 | + <padding> |
| 60 | + <Insets left="5.0" right="5.0" /> |
| 61 | + </padding> |
| 62 | + </VBox> |
| 63 | + <VBox disable="true" spacing="10.0"> |
33 | 64 | <children> |
34 | 65 | <HBox alignment="CENTER_LEFT" prefHeight="100.0" prefWidth="200.0" spacing="10.0"> |
35 | 66 | <children> |
|
0 commit comments