adjust presentation of extra info in buyer step screen

This commit is contained in:
woodser 2024-07-13 09:01:52 -04:00
parent 255bd33c47
commit f852217945
3 changed files with 4 additions and 4 deletions

View File

@ -48,11 +48,11 @@ public class AustraliaPayidForm extends PaymentMethodForm {
addCompactTopLabelTextField(gridPane, ++gridRow, Res.get("payment.account.owner"), addCompactTopLabelTextField(gridPane, ++gridRow, Res.get("payment.account.owner"),
((AustraliaPayidAccountPayload) paymentAccountPayload).getBankAccountName()); ((AustraliaPayidAccountPayload) paymentAccountPayload).getBankAccountName());
addCompactTopLabelTextField(gridPane, ++gridRow, Res.get("payment.payid"), addCompactTopLabelTextField(gridPane, gridRow, 1, Res.get("payment.payid"),
((AustraliaPayidAccountPayload) paymentAccountPayload).getPayid()); ((AustraliaPayidAccountPayload) paymentAccountPayload).getPayid());
AustraliaPayidAccountPayload payId = (AustraliaPayidAccountPayload) paymentAccountPayload; 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.setMinHeight(70);
textExtraInfo.setEditable(false); textExtraInfo.setEditable(false);
textExtraInfo.setText(payId.getExtraInfo()); textExtraInfo.setText(payId.getExtraInfo());

View File

@ -49,7 +49,7 @@ public class CashAppForm extends PaymentMethodForm {
addCompactTopLabelTextFieldWithCopyIcon(gridPane, ++gridRow, Res.get("payment.email.mobile.cashtag"), ((CashAppAccountPayload) paymentAccountPayload).getEmailOrMobileNrOrCashtag()); addCompactTopLabelTextFieldWithCopyIcon(gridPane, ++gridRow, Res.get("payment.email.mobile.cashtag"), ((CashAppAccountPayload) paymentAccountPayload).getEmailOrMobileNrOrCashtag());
CashAppAccountPayload payId = (CashAppAccountPayload) paymentAccountPayload; 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.setMinHeight(70);
textExtraInfo.setEditable(false); textExtraInfo.setEditable(false);
textExtraInfo.setText(payId.getExtraInfo()); textExtraInfo.setText(payId.getExtraInfo());

View File

@ -49,7 +49,7 @@ public class PayPalForm extends PaymentMethodForm {
addCompactTopLabelTextFieldWithCopyIcon(gridPane, ++gridRow, Res.get("payment.email.mobile.username"), ((PayPalAccountPayload) paymentAccountPayload).getEmailOrMobileNrOrUsername()); addCompactTopLabelTextFieldWithCopyIcon(gridPane, ++gridRow, Res.get("payment.email.mobile.username"), ((PayPalAccountPayload) paymentAccountPayload).getEmailOrMobileNrOrUsername());
PayPalAccountPayload payId = (PayPalAccountPayload) paymentAccountPayload; 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.setMinHeight(70);
textExtraInfo.setEditable(false); textExtraInfo.setEditable(false);
textExtraInfo.setText(payId.getExtraInfo()); textExtraInfo.setText(payId.getExtraInfo());