mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-09 16:29:27 -04:00
fix vertical alignment of text field with icon
This commit is contained in:
parent
e089a6f2a4
commit
c6ef499ced
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue