diff --git a/pom.xml b/pom.xml
index 5221995..8509d5e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -130,12 +130,7 @@
easypoi-annotation
4.0.0
-
-
- org.controlsfx
- controlsfx
- 8.40.14
-
+
diff --git a/src/test/java/BuilderPackageEcology.java b/src/test/java/BuilderPackageEcology.java
index a11d4d3..f8b912f 100644
--- a/src/test/java/BuilderPackageEcology.java
+++ b/src/test/java/BuilderPackageEcology.java
@@ -156,7 +156,7 @@ public class BuilderPackageEcology extends Application {
root.setBottom(buttonBox);
- Scene scene = new Scene(root, 600, 400);
+ Scene scene = new Scene(root, 600, 600);
scene.getStylesheets().add(getClass().getResource("style.css").toExternalForm()); // 加载自定义的 CSS 文件
scene.getRoot().setStyle("-fx-font-family: 'serif'");
primaryStage.setScene(scene);
diff --git a/src/test/resources/style.css b/src/test/resources/style.css
index 1d86afe..4388a4b 100644
--- a/src/test/resources/style.css
+++ b/src/test/resources/style.css
@@ -2,12 +2,13 @@
.tree-view {
- -fx-padding: 10px;
+ -fx-padding: 15px;
+ -fx-start-margin: 5px;
-fx-alignment: center;
}
.tree-cell {
- -fx-padding: 6px;
+ -fx-padding: 0;
-fx-font-size: 14px;
}