Files
contract-manager/src/main/resources/ui/bank-manager.fxml
danyz 6cbe3f37ee style(ui): 统一调整多个管理窗口的高度为680像素
调整了公司、库存、部门、功能、项目、客户、员工、银行、角色等多个管理窗口的预设高度,从不同高度统一为680像素,保持界面一致性。同时优化了部分导入语句的格式。
2025-08-23 11:06:07 +08:00

47 lines
2.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<VBox prefHeight="680.0" prefWidth="1000.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.ecep.contract.manager.ds.other.controller.bank.BankManagerWindowController">
<children>
<MenuBar VBox.vgrow="NEVER">
<menus>
<Menu text="文件(_F)">
<items>
<MenuItem onAction="#onCreateNewAction" text="新建…(_N)" />
<MenuItem onAction="#onReBuildFilesAction" text="同步…(_R)" disable="true" />
<SeparatorMenuItem mnemonicParsing="false" />
<MenuItem mnemonicParsing="false" text="Preferences…" />
</items>
</Menu>
<Menu text="帮助(_H)">
<items>
<MenuItem mnemonicParsing="false" text="关于…" />
</items>
</Menu>
</menus>
</MenuBar>
<ToolBar prefHeight="40.0" prefWidth="200.0">
<items>
<TextField fx:id="searchKeyField" promptText="检索关键字" />
<Button fx:id="searchBtn" mnemonicParsing="false" text="检索" />
</items>
</ToolBar>
<AnchorPane prefHeight="248.0" prefWidth="1000.0" VBox.vgrow="ALWAYS">
<children>
<TableView fx:id="table" layoutX="52.0" layoutY="14.0" prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<columns>
<TableColumn fx:id="idColumn" prefWidth="50.0" text="ID"/>
<TableColumn fx:id="nameColumn" prefWidth="150" text="名称 *"/>
<TableColumn fx:id="codeColumn" prefWidth="150" text="编号"/>
</columns>
<columnResizePolicy>
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
</columnResizePolicy>
</TableView>
</children>
</AnchorPane>
<fx:include source="part-footer.fxml" fx:id="footer"/>
</children>
</VBox>