From c6ef499ced338eab293d26c93f5d253e7113a66e Mon Sep 17 00:00:00 2001 From: woodser <13068859+woodser@users.noreply.github.com> Date: Thu, 3 Jul 2025 09:29:48 -0400 Subject: [PATCH] fix vertical alignment of text field with icon --- .../main/java/haveno/desktop/components/TextFieldWithIcon.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/main/java/haveno/desktop/components/TextFieldWithIcon.java b/desktop/src/main/java/haveno/desktop/components/TextFieldWithIcon.java index 1db14cf73a..9c7e8a823d 100644 --- a/desktop/src/main/java/haveno/desktop/components/TextFieldWithIcon.java +++ b/desktop/src/main/java/haveno/desktop/components/TextFieldWithIcon.java @@ -54,7 +54,7 @@ public class TextFieldWithIcon extends AnchorPane { iconLabel = new Label(); iconLabel.setLayoutX(0); - iconLabel.setLayoutY(Layout.FLOATING_ICON_Y); + iconLabel.setLayoutY(Layout.FLOATING_ICON_Y - 2); dummyTextField.widthProperty().addListener((observable, oldValue, newValue) -> { iconLabel.setLayoutX(dummyTextField.widthProperty().get() + 20 + Layout.FLOATING_ICON_Y);