Resolve unintended ellipsis. Make popup wider.

This commit is contained in:
Jakub Loucký 2021-01-23 23:46:48 +01:00 committed by Christoph Atteneder
parent 53344da9e0
commit 172af9bd6b
No known key found for this signature in database
GPG key ID: CD5DC1C529CDFD3B
2 changed files with 2 additions and 2 deletions

View file

@ -251,7 +251,7 @@ public class FiatAccountsView extends PaymentAccountsView<GridPane, FiatAccounts
} else if (paymentAccount instanceof CashByMailAccount) {
// CashByMail has no chargeback risk so we don't show the text from payment.limits.info.
new Popup().information(Res.get("payment.cashByMail.info"))
.width(700)
.width(850)
.closeButtonText(Res.get("shared.cancel"))
.actionButtonText(Res.get("shared.iUnderstand"))
.onAction(() -> doSaveNewAccount(paymentAccount))

View file

@ -189,7 +189,7 @@ public abstract class Overlay<T extends Overlay<T>> {
protected Timer centerTime;
protected Type type = Type.Undefined;
protected int maxChar = 1800;
protected int maxChar = 2200;
private T cast() {
//noinspection unchecked