From 5c79380e638a304b42ceb4a15f34f9eebd9ec43b Mon Sep 17 00:00:00 2001 From: woodser Date: Wed, 18 Dec 2024 12:14:16 -0500 Subject: [PATCH] remove padding from no deposit slider --- .../main/java/haveno/desktop/main/offer/MutableOfferView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop/src/main/java/haveno/desktop/main/offer/MutableOfferView.java b/desktop/src/main/java/haveno/desktop/main/offer/MutableOfferView.java index 7339e5b055..0bcfa79050 100644 --- a/desktop/src/main/java/haveno/desktop/main/offer/MutableOfferView.java +++ b/desktop/src/main/java/haveno/desktop/main/offer/MutableOfferView.java @@ -1039,6 +1039,7 @@ public abstract class MutableOfferView> exten securityDepositAndFeeBox.getChildren().addAll(getSecurityDepositBox(), tradeFeeFieldsBox); buyerAsTakerWithoutDepositSlider = FormBuilder.addSlideToggleButton(gridPane, ++gridRow, Res.get("createOffer.buyerAsTakerWithoutDeposit")); + buyerAsTakerWithoutDepositSlider.setPadding(new Insets(0, 0, 0, 0)); buyerAsTakerWithoutDepositSlider.setOnAction(event -> { // popup info box