From 319401ec4b4fba16c53e7372e2b1c8108ad73343 Mon Sep 17 00:00:00 2001 From: CiiLu <109708109+CiiLu@users.noreply.github.com> Date: Thu, 30 Apr 2026 12:04:23 +0800 Subject: [PATCH] update --- .../java/org/jackhuang/hmcl/ui/construct/InputDialogPane.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/InputDialogPane.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/InputDialogPane.java index 6926970136..7f22af3d1c 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/InputDialogPane.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/InputDialogPane.java @@ -21,6 +21,7 @@ import com.jfoenix.controls.JFXDialogLayout; import com.jfoenix.controls.JFXTextField; import com.jfoenix.validation.base.ValidatorBase; +import javafx.geometry.Insets; import javafx.scene.control.Label; import javafx.scene.layout.HBox; import javafx.scene.layout.VBox; @@ -56,6 +57,7 @@ public InputDialogPane(String text, String initialValue, FutureCallback this.setBody(new VBox(textField)); lblCreationWarning = new Label(); + lblCreationWarning.setPadding(new Insets(0, 5, 0, 0)); acceptPane = new SpinnerPane(); acceptPane.getStyleClass().add("small-spinner-pane");