From dcfc19aafa6e4b79b7b45b0ff08d96424a66238e Mon Sep 17 00:00:00 2001
From: CXT-maker <19235211755@163.com>
Date: Sat, 16 Aug 2025 21:08:02 +0800
Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=BF=AE=E6=94=B9=EF=BC=88?=
=?UTF-8?q?=E5=A4=A7=E5=B0=8F=E5=92=8C=E7=BC=A9=E6=94=BE=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../ui/SceneManager.java | 2 +-
src/main/resources/css/custom-tab.css | 12 ++-
.../resources/fxml/module/step-1-pane.fxml | 8 +-
.../resources/fxml/module/step-2-pane.fxml | 94 +++++++++----------
.../resources/fxml/module/step-7-pane.fxml | 10 +-
5 files changed, 67 insertions(+), 59 deletions(-)
diff --git a/src/main/java/top/r3944realms/docchecktoolrefactored/ui/SceneManager.java b/src/main/java/top/r3944realms/docchecktoolrefactored/ui/SceneManager.java
index 1d0a141..8c43890 100644
--- a/src/main/java/top/r3944realms/docchecktoolrefactored/ui/SceneManager.java
+++ b/src/main/java/top/r3944realms/docchecktoolrefactored/ui/SceneManager.java
@@ -53,7 +53,7 @@ public class SceneManager {
* Switch main view.
*/
public static void switchMainView() {
- SceneManager.loadView("/fxml/main-view.fxml", "淮阴区数字化档案检查验收系统 - 主界面", 1000, 1000);
+ SceneManager.loadView("/fxml/main-view.fxml", "淮阴区数字化档案检查验收系统 - 主界面", 1200, 900);
}
/**
diff --git a/src/main/resources/css/custom-tab.css b/src/main/resources/css/custom-tab.css
index f5cafa7..7c6cee3 100644
--- a/src/main/resources/css/custom-tab.css
+++ b/src/main/resources/css/custom-tab.css
@@ -47,7 +47,7 @@
-fx-font-size: 16px;
-fx-alignment: CENTER;
-fx-padding: 0 10 0 10;
- -fx-max-width: 180px;
+ -fx-max-width: 100px;
-fx-translate-x: 6px;
-fx-text-overrun: ellipsis;
}
@@ -67,9 +67,17 @@
}
/* Tab重叠调整 */
+/* 文字少的标签页样式 */
.tab-pane > .tab-header-area > .headers-region > .tab {
-fx-background-insets: 0 -15 0 0;
- -fx-min-width: 200px;
+ -fx-min-width: 80px;
+ -fx-pref-width: 180px;
+ -fx-max-height: 300px;
+}
+
+/* 文字多的标签页样式 */
+.tab-pane > .tab-header-area > .headers-region > .tab.long-text-tab {
+ -fx-background-insets: 0 -15 0 0;
-fx-pref-width: 300px;
-fx-max-height: 300px;
}
diff --git a/src/main/resources/fxml/module/step-1-pane.fxml b/src/main/resources/fxml/module/step-1-pane.fxml
index 87bec2b..db27a7e 100644
--- a/src/main/resources/fxml/module/step-1-pane.fxml
+++ b/src/main/resources/fxml/module/step-1-pane.fxml
@@ -19,10 +19,10 @@
-
-
-
-
+
+
+
+