CharsetConverterView.fxml
1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.Font?>
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="400.0" prefWidth="600.0"
xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="com.zhazhapan.util.visual.controller.CharsetConverterController">
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0"/>
</padding>
<TextArea fx:id="originalContent" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
onDragDropped="#dragFileDropped" onDragOver="#dragFileOver" prefHeight="82.0" prefWidth="580.0"
promptText="原字符集" VBox.vgrow="ALWAYS">
<tooltip>
<Tooltip autoHide="true" text="拖曳文件至此"/>
</tooltip>
</TextArea>
<HBox prefHeight="24.0" prefWidth="580.0" VBox.vgrow="NEVER">
<VBox.margin>
<Insets bottom="10.0" top="10.0"/>
</VBox.margin>
<ComboBox fx:id="originalCharset" prefWidth="150.0" HBox.hgrow="NEVER"/>
<Label text="转" HBox.hgrow="NEVER">
<HBox.margin>
<Insets left="10.0" top="5.0"/>
</HBox.margin>
<font>
<Font size="14.0"/>
</font>
</Label>
<ComboBox fx:id="convertCharset" prefWidth="150.0" HBox.hgrow="NEVER">
<HBox.margin>
<Insets left="10.0"/>
</HBox.margin>
</ComboBox>
</HBox>
<TextArea fx:id="convertedContent" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
prefHeight="200.0" prefWidth="200.0" promptText="转换后的字符集" VBox.vgrow="ALWAYS"/>
</VBox>