|
7 | 7 | <?import javafx.scene.control.Menu?> |
8 | 8 | <?import javafx.scene.control.MenuBar?> |
9 | 9 | <?import javafx.scene.control.MenuItem?> |
| 10 | +<?import javafx.scene.control.ScrollPane?> |
10 | 11 | <?import javafx.scene.control.SeparatorMenuItem?> |
| 12 | +<?import javafx.scene.control.Tab?> |
11 | 13 | <?import javafx.scene.control.TabPane?> |
12 | 14 | <?import javafx.scene.control.TextField?> |
13 | 15 | <?import javafx.scene.layout.AnchorPane?> |
14 | | -<?import javafx.scene.layout.BorderPane?> |
15 | 16 | <?import javafx.scene.layout.HBox?> |
| 17 | +<?import javafx.scene.layout.VBox?> |
16 | 18 | <?import javafx.scene.web.WebView?> |
17 | 19 |
|
18 | 20 | <AnchorPane prefHeight="654.0" prefWidth="1044.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.xwintop.xJavaFxTool.controller.IndexController"> |
19 | 21 | <children> |
20 | | - <BorderPane layoutY="2.0" prefHeight="600.0" prefWidth="900.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="2.0"> |
21 | | - <top> |
22 | | - <HBox alignment="CENTER_LEFT" spacing="5.0" BorderPane.alignment="CENTER"> |
23 | | - <children> |
24 | | - <MenuBar fx:id="mainMenuBar" cache="true"> |
25 | | - <menus> |
26 | | - <Menu fx:id="fileMenu" mnemonicParsing="false" text="%File"> |
27 | | - <items> |
28 | | - <MenuItem mnemonicParsing="false" onAction="#closeAllTabAction" text="%closeAllTab" /> |
29 | | - <MenuItem mnemonicParsing="false" onAction="#openAllTabAction" text="%openAllTab" /> |
30 | | - <MenuItem mnemonicParsing="false" onAction="#pluginManageAction" text="%plugin_manage" /> |
31 | | - <MenuItem mnemonicParsing="false" onAction="#addNodepadAction" text="%addNodepad" /> |
32 | | - <CheckMenuItem fx:id="singleWindowBootCheckMenuItem" mnemonicParsing="false" text="%singleWindowBootCheckBox" /> |
33 | | - <MenuItem mnemonicParsing="false" onAction="#addLogConsoleAction" text="%addLogConsole" /> |
34 | | - <SeparatorMenuItem /> |
35 | | - <MenuItem mnemonicParsing="false" onAction="#exitAction" text="%Exit" /> |
36 | | - </items> |
37 | | - </Menu> |
38 | | - <Menu fx:id="moreToolsMenu" mnemonicParsing="false" text="%More_Tools" /> |
39 | | - <Menu fx:id="helpMenu" mnemonicParsing="false" text="%Help"> |
40 | | - <MenuItem mnemonicParsing="false" onAction="#openLogFileAction" text="%openLogFile" /> |
41 | | - <MenuItem mnemonicParsing="false" onAction="#openLogFolderAction" text="%openLogFolder" /> |
42 | | - <MenuItem mnemonicParsing="false" onAction="#openConfigFolderAction" text="%openConfigFolder" /> |
43 | | - <MenuItem mnemonicParsing="false" onAction="#openPluginFolderAction" text="%openPluginFolder" /> |
44 | | - <SeparatorMenuItem /> |
45 | | - <items> |
46 | | - <Menu mnemonicParsing="false" text="%SetLanguage"> |
47 | | - <items> |
48 | | - <MenuItem mnemonicParsing="false" onAction="#setLanguageAction" text="简体中文" /> |
49 | | - <MenuItem mnemonicParsing="false" onAction="#setLanguageAction" text="English" /> |
50 | | - </items> |
51 | | - </Menu> |
52 | | - <SeparatorMenuItem /> |
53 | | - <MenuItem mnemonicParsing="false" onAction="#userSupportAction" text="%userSupport" /> |
54 | | - <MenuItem mnemonicParsing="false" onAction="#SettingAction" text="%Setting" /> |
55 | | - <MenuItem mnemonicParsing="false" onAction="#aboutAction" text="%About" /> |
56 | | - </items> |
57 | | - </Menu> |
58 | | - </menus> |
59 | | - </MenuBar> |
60 | | - <TextField fx:id="myTextField" focusTraversable="false" promptText="%selectTextField"> |
61 | | - <HBox.margin> |
62 | | - <Insets left="10.0" right="10.0" /> |
63 | | - </HBox.margin> |
64 | | - </TextField> |
65 | | - <Button fx:id="myButton" mnemonicParsing="false" text="%selectButton"> |
66 | | - <HBox.margin> |
67 | | - <Insets /> |
68 | | - </HBox.margin> |
69 | | - </Button> |
70 | | - <WebView fx:id="tongjiWebView" prefHeight="1.0" prefWidth="1.0" visible="false" /> |
71 | | - <Hyperlink onAction="#xwintopLinkOnAction" text="http://gitee.com/xwintop/xJavaFxTool" textFill="RED" /> |
72 | | - </children> |
73 | | - </HBox> |
74 | | - </top> |
75 | | - <center> |
76 | | - <TabPane fx:id="tabPaneMain" tabClosingPolicy="ALL_TABS" BorderPane.alignment="CENTER" /> |
77 | | - </center> |
78 | | - </BorderPane> |
| 22 | + <TabPane fx:id="tabPaneMain" tabClosingPolicy="ALL_TABS" tabMinWidth="45.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> |
| 23 | + <tabs> |
| 24 | + <Tab closable="false" text="%start"> |
| 25 | + <content> |
| 26 | + <ScrollPane> |
| 27 | + <content> |
| 28 | + <VBox> |
| 29 | + <children> |
| 30 | + <HBox alignment="CENTER_LEFT" spacing="5.0"> |
| 31 | + <children> |
| 32 | + <MenuBar fx:id="mainMenuBar" cache="true"> |
| 33 | + <menus> |
| 34 | + <Menu fx:id="fileMenu" mnemonicParsing="false" text="%File"> |
| 35 | + <items> |
| 36 | + <MenuItem mnemonicParsing="false" onAction="#closeAllTabAction" text="%closeAllTab" /> |
| 37 | + <MenuItem mnemonicParsing="false" onAction="#openAllTabAction" text="%openAllTab" /> |
| 38 | + <MenuItem mnemonicParsing="false" onAction="#pluginManageAction" text="%plugin_manage" /> |
| 39 | + <MenuItem mnemonicParsing="false" onAction="#addNodepadAction" text="%addNodepad" /> |
| 40 | + <CheckMenuItem fx:id="singleWindowBootCheckMenuItem" mnemonicParsing="false" text="%singleWindowBootCheckBox" /> |
| 41 | + <MenuItem mnemonicParsing="false" onAction="#addLogConsoleAction" text="%addLogConsole" /> |
| 42 | + <SeparatorMenuItem /> |
| 43 | + <MenuItem mnemonicParsing="false" onAction="#exitAction" text="%Exit" /> |
| 44 | + </items> |
| 45 | + </Menu> |
| 46 | + <Menu fx:id="moreToolsMenu" mnemonicParsing="false" text="%More_Tools" /> |
| 47 | + <Menu fx:id="helpMenu" mnemonicParsing="false" text="%Help"> |
| 48 | + <MenuItem mnemonicParsing="false" onAction="#openLogFileAction" text="%openLogFile" /> |
| 49 | + <MenuItem mnemonicParsing="false" onAction="#openLogFolderAction" text="%openLogFolder" /> |
| 50 | + <MenuItem mnemonicParsing="false" onAction="#openConfigFolderAction" text="%openConfigFolder" /> |
| 51 | + <MenuItem mnemonicParsing="false" onAction="#openPluginFolderAction" text="%openPluginFolder" /> |
| 52 | + <SeparatorMenuItem /> |
| 53 | + <items> |
| 54 | + <Menu mnemonicParsing="false" text="%SetLanguage"> |
| 55 | + <items> |
| 56 | + <MenuItem mnemonicParsing="false" onAction="#setLanguageAction" text="简体中文" /> |
| 57 | + <MenuItem mnemonicParsing="false" onAction="#setLanguageAction" text="English" /> |
| 58 | + </items> |
| 59 | + </Menu> |
| 60 | + <SeparatorMenuItem /> |
| 61 | + <MenuItem mnemonicParsing="false" onAction="#userSupportAction" text="%userSupport" /> |
| 62 | + <MenuItem mnemonicParsing="false" onAction="#SettingAction" text="%Setting" /> |
| 63 | + <MenuItem mnemonicParsing="false" onAction="#aboutAction" text="%About" /> |
| 64 | + </items> |
| 65 | + </Menu> |
| 66 | + </menus> |
| 67 | + </MenuBar> |
| 68 | + <TextField fx:id="myTextField" focusTraversable="false" promptText="%selectTextField"> |
| 69 | + <HBox.margin> |
| 70 | + <Insets left="10.0" right="10.0" /> |
| 71 | + </HBox.margin> |
| 72 | + </TextField> |
| 73 | + <Button fx:id="myButton" mnemonicParsing="false" text="%selectButton"> |
| 74 | + <HBox.margin> |
| 75 | + <Insets /> |
| 76 | + </HBox.margin> |
| 77 | + </Button> |
| 78 | + <WebView fx:id="tongjiWebView" prefHeight="1.0" prefWidth="1.0" visible="false" /> |
| 79 | + <Hyperlink onAction="#xwintopLinkOnAction" text="http://gitee.com/xwintop/xJavaFxTool" textFill="RED" /> |
| 80 | + </children> |
| 81 | + <VBox.margin> |
| 82 | + <Insets top="5.0" /> |
| 83 | + </VBox.margin> |
| 84 | + </HBox> |
| 85 | + <VBox fx:id="pluginCategories" /> |
| 86 | + </children> |
| 87 | + </VBox> |
| 88 | + </content> |
| 89 | + </ScrollPane> |
| 90 | + </content> |
| 91 | + </Tab> |
| 92 | + </tabs> |
| 93 | + </TabPane> |
79 | 94 | </children> |
80 | 95 | </AnchorPane> |
0 commit comments