Skip to content

Commit

Permalink
Fixed issue haveno-dex#1359
Browse files Browse the repository at this point in the history
  • Loading branch information
rafau committed Nov 3, 2024
1 parent 4857463 commit 1aefd50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/src/main/resources/i18n/displayStrings.properties
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ shared.addNewAccount=Add new account
shared.ExportAccounts=Export Accounts
shared.importAccounts=Import Accounts
shared.createNewAccount=Create new account
shared.createNewAccountDescription=Your payment account details are stored locally on your device and shared only with your trading peer and the arbitrator if a dispute is opened.
shared.saveNewAccount=Save new account
shared.selectedAccount=Selected account
shared.deleteAccount=Delete account
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
import static haveno.desktop.util.FormBuilder.add2ButtonsAfterGroup;
import static haveno.desktop.util.FormBuilder.add3ButtonsAfterGroup;
import static haveno.desktop.util.FormBuilder.addTitledGroupBg;
import static haveno.desktop.util.FormBuilder.addLabel;
import static haveno.desktop.util.FormBuilder.addTopLabelListView;
import haveno.desktop.util.GUIUtil;
import haveno.desktop.util.Layout;
Expand Down Expand Up @@ -462,7 +463,8 @@ protected void addNewAccount() {
paymentAccountsListView.getSelectionModel().clearSelection();
removeAccountRows();
addAccountButton.setDisable(true);
accountTitledGroupBg = addTitledGroupBg(root, ++gridRow, 2, Res.get("shared.createNewAccount"), Layout.GROUP_DISTANCE);
accountTitledGroupBg = addTitledGroupBg(root, ++gridRow, 2, Res.get("shared.createNewAccount"), Layout.FIRST_ROW_DISTANCE);
addLabel(root, gridRow, Res.get("shared.createNewAccountDescription"), Layout.FIRST_ROW_DISTANCE);
paymentMethodComboBox = FormBuilder.addAutocompleteComboBox(
root, gridRow, Res.get("shared.selectPaymentMethod"), Layout.FIRST_ROW_AND_GROUP_DISTANCE
);
Expand Down

0 comments on commit 1aefd50

Please sign in to comment.