From 0940312d8b6c0c6e42f5389013bfdc1335462529 Mon Sep 17 00:00:00 2001 From: BtcContributor <79100296+BtcContributor@users.noreply.github.com> Date: Thu, 13 May 2021 15:17:15 +0200 Subject: [PATCH] Fix text overlapping in Wallet Info menu --- core/src/main/resources/i18n/displayStrings.properties | 2 +- .../main/account/content/walletinfo/WalletInfoView.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/main/resources/i18n/displayStrings.properties b/core/src/main/resources/i18n/displayStrings.properties index d3e23c25591..b08ba2e28ec 100644 --- a/core/src/main/resources/i18n/displayStrings.properties +++ b/core/src/main/resources/i18n/displayStrings.properties @@ -1446,7 +1446,7 @@ account.menu.walletInfo.path.info=If you import seed words into another wallet ( path. This should only be done in emergency cases when you lose access to the Bisq wallet and data directory.\n\ Keep in mind that spending funds from a non-Bisq wallet can bungle the internal Bisq data structures associated with the wallet \ data, which can lead to failed trades.\n\n\ - NEVER send BSQ from a non-Bisq wallet, as it will probably lead to an invalid BSQ transaction and losing your BSQ. + NEVER send BSQ from a non-Bisq wallet, as it will probably lead to an invalid BSQ transaction and losing your BSQ.\n\n\ account.menu.walletInfo.openDetails=Show raw wallet details and private keys diff --git a/desktop/src/main/java/bisq/desktop/main/account/content/walletinfo/WalletInfoView.java b/desktop/src/main/java/bisq/desktop/main/account/content/walletinfo/WalletInfoView.java index 265992eb1a9..5341ed01c2a 100644 --- a/desktop/src/main/java/bisq/desktop/main/account/content/walletinfo/WalletInfoView.java +++ b/desktop/src/main/java/bisq/desktop/main/account/content/walletinfo/WalletInfoView.java @@ -92,10 +92,11 @@ public void initialize() { btcTextField = addTopLabelTextField(root, ++gridRow, "BTC", -Layout.FLOATING_LABEL_DISTANCE).second; bsqTextField = addTopLabelTextField(root, ++gridRow, "BSQ", -Layout.FLOATING_LABEL_DISTANCE).second; - addTitledGroupBg(root, ++gridRow, 3, Res.get("account.menu.walletInfo.xpub.headLine"), Layout.GROUP_DISTANCE); + addTitledGroupBg(root, ++gridRow, 4, Res.get("account.menu.walletInfo.xpub.headLine"), Layout.GROUP_DISTANCE); addXpubKeys(btcWalletService, "BTC", gridRow, Layout.FIRST_ROW_AND_GROUP_DISTANCE); ++gridRow; // update gridRow addXpubKeys(bsqWalletService, "BSQ", ++gridRow, -Layout.FLOATING_LABEL_DISTANCE); + ++gridRow; // update gridRow addTitledGroupBg(root, ++gridRow, 4, Res.get("account.menu.walletInfo.path.headLine"), Layout.GROUP_DISTANCE); addMultilineLabel(root, gridRow, Res.get("account.menu.walletInfo.path.info"), Layout.FIRST_ROW_AND_GROUP_DISTANCE, Double.MAX_VALUE);