From f8522179456366d1ca2b61a32150c55e704a9e89 Mon Sep 17 00:00:00 2001 From: woodser Date: Sat, 13 Jul 2024 09:01:52 -0400 Subject: [PATCH] adjust presentation of extra info in buyer step screen --- .../desktop/components/paymentmethods/AustraliaPayidForm.java | 4 ++-- .../haveno/desktop/components/paymentmethods/CashAppForm.java | 2 +- .../haveno/desktop/components/paymentmethods/PayPalForm.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/desktop/src/main/java/haveno/desktop/components/paymentmethods/AustraliaPayidForm.java b/desktop/src/main/java/haveno/desktop/components/paymentmethods/AustraliaPayidForm.java index c830b88926..234b5e88b0 100644 --- a/desktop/src/main/java/haveno/desktop/components/paymentmethods/AustraliaPayidForm.java +++ b/desktop/src/main/java/haveno/desktop/components/paymentmethods/AustraliaPayidForm.java @@ -48,11 +48,11 @@ public class AustraliaPayidForm extends PaymentMethodForm { addCompactTopLabelTextField(gridPane, ++gridRow, Res.get("payment.account.owner"), ((AustraliaPayidAccountPayload) paymentAccountPayload).getBankAccountName()); - addCompactTopLabelTextField(gridPane, ++gridRow, Res.get("payment.payid"), + addCompactTopLabelTextField(gridPane, gridRow, 1, Res.get("payment.payid"), ((AustraliaPayidAccountPayload) paymentAccountPayload).getPayid()); AustraliaPayidAccountPayload payId = (AustraliaPayidAccountPayload) paymentAccountPayload; - TextArea textExtraInfo = addCompactTopLabelTextArea(gridPane, gridRow, 1, Res.get("payment.shared.extraInfo"), "").second; + TextArea textExtraInfo = addCompactTopLabelTextArea(gridPane, ++gridRow, Res.get("payment.shared.extraInfo"), "").second; textExtraInfo.setMinHeight(70); textExtraInfo.setEditable(false); textExtraInfo.setText(payId.getExtraInfo()); diff --git a/desktop/src/main/java/haveno/desktop/components/paymentmethods/CashAppForm.java b/desktop/src/main/java/haveno/desktop/components/paymentmethods/CashAppForm.java index 529af4391d..60fe712709 100644 --- a/desktop/src/main/java/haveno/desktop/components/paymentmethods/CashAppForm.java +++ b/desktop/src/main/java/haveno/desktop/components/paymentmethods/CashAppForm.java @@ -49,7 +49,7 @@ public class CashAppForm extends PaymentMethodForm { addCompactTopLabelTextFieldWithCopyIcon(gridPane, ++gridRow, Res.get("payment.email.mobile.cashtag"), ((CashAppAccountPayload) paymentAccountPayload).getEmailOrMobileNrOrCashtag()); CashAppAccountPayload payId = (CashAppAccountPayload) paymentAccountPayload; - TextArea textExtraInfo = addCompactTopLabelTextArea(gridPane, gridRow, 1, Res.get("payment.shared.extraInfo"), "").second; + TextArea textExtraInfo = addCompactTopLabelTextArea(gridPane, ++gridRow, Res.get("payment.shared.extraInfo"), "").second; textExtraInfo.setMinHeight(70); textExtraInfo.setEditable(false); textExtraInfo.setText(payId.getExtraInfo()); diff --git a/desktop/src/main/java/haveno/desktop/components/paymentmethods/PayPalForm.java b/desktop/src/main/java/haveno/desktop/components/paymentmethods/PayPalForm.java index e382b4213d..8e0d48ee6e 100644 --- a/desktop/src/main/java/haveno/desktop/components/paymentmethods/PayPalForm.java +++ b/desktop/src/main/java/haveno/desktop/components/paymentmethods/PayPalForm.java @@ -49,7 +49,7 @@ public class PayPalForm extends PaymentMethodForm { addCompactTopLabelTextFieldWithCopyIcon(gridPane, ++gridRow, Res.get("payment.email.mobile.username"), ((PayPalAccountPayload) paymentAccountPayload).getEmailOrMobileNrOrUsername()); PayPalAccountPayload payId = (PayPalAccountPayload) paymentAccountPayload; - TextArea textExtraInfo = addCompactTopLabelTextArea(gridPane, gridRow, 1, Res.get("payment.shared.extraInfo"), "").second; + TextArea textExtraInfo = addCompactTopLabelTextArea(gridPane, ++gridRow, Res.get("payment.shared.extraInfo"), "").second; textExtraInfo.setMinHeight(70); textExtraInfo.setEditable(false); textExtraInfo.setText(payId.getExtraInfo());