mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-21 12:48:35 -04:00
increase size of qr code logos when labels disabled
This commit is contained in:
parent
8c9c68482a
commit
cf2cc432eb
1 changed files with 2 additions and 2 deletions
|
@ -1296,11 +1296,11 @@ public class GUIUtil {
|
||||||
|
|
||||||
|
|
||||||
public static Tuple2<StackPane, ImageView> getSmallXmrQrCodePane() {
|
public static Tuple2<StackPane, ImageView> getSmallXmrQrCodePane() {
|
||||||
return getXmrQrCodePane(150, 26, 2);
|
return getXmrQrCodePane(150, disablePaymentUriLabel ? 30 : 26, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Tuple2<StackPane, ImageView> getBigXmrQrCodePane() {
|
public static Tuple2<StackPane, ImageView> getBigXmrQrCodePane() {
|
||||||
return getXmrQrCodePane(250, 43, 3);
|
return getXmrQrCodePane(250, disablePaymentUriLabel ? 45 : 43, 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Tuple2<StackPane, ImageView> getXmrQrCodePane(int qrCodeSize, int logoSize, int logoBorderWidth) {
|
private static Tuple2<StackPane, ImageView> getXmrQrCodePane(int qrCodeSize, int logoSize, int logoBorderWidth) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue