Skip to content

Commit 34359a7

Browse files
authored
输入框 错误提示与确认按钮间添加间距 (#6025)
1 parent aa335d8 commit 34359a7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/InputDialogPane.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import com.jfoenix.controls.JFXDialogLayout;
2222
import com.jfoenix.controls.JFXTextField;
2323
import com.jfoenix.validation.base.ValidatorBase;
24+
import javafx.geometry.Insets;
2425
import javafx.scene.control.Label;
2526
import javafx.scene.layout.HBox;
2627
import javafx.scene.layout.VBox;
@@ -56,6 +57,7 @@ public InputDialogPane(String text, String initialValue, FutureCallback<String>
5657
this.setBody(new VBox(textField));
5758

5859
lblCreationWarning = new Label();
60+
lblCreationWarning.setPadding(new Insets(0, 5, 0, 0));
5961

6062
acceptPane = new SpinnerPane();
6163
acceptPane.getStyleClass().add("small-spinner-pane");

0 commit comments

Comments
 (0)