From b628acec59d7e3a7e005f740363b19d22a89aba4 Mon Sep 17 00:00:00 2001 From: ThisPC Date: Sun, 17 Sep 2023 02:33:57 +0800 Subject: [PATCH] Set radio buttons and checkboxes to Haveno blue --- .../main/java/haveno/desktop/components/AutoTooltipCheckBox.java | 1 + .../haveno/desktop/components/JFXRadioButtonSkinHavenoStyle.java | 1 + 2 files changed, 2 insertions(+) diff --git a/desktop/src/main/java/haveno/desktop/components/AutoTooltipCheckBox.java b/desktop/src/main/java/haveno/desktop/components/AutoTooltipCheckBox.java index 0288537d38..1d7d50f04a 100644 --- a/desktop/src/main/java/haveno/desktop/components/AutoTooltipCheckBox.java +++ b/desktop/src/main/java/haveno/desktop/components/AutoTooltipCheckBox.java @@ -41,6 +41,7 @@ public class AutoTooltipCheckBox extends JFXCheckBox { private class AutoTooltipCheckBoxSkin extends JFXCheckBoxSkin { public AutoTooltipCheckBoxSkin(JFXCheckBox checkBox) { super(checkBox); + checkBox.setStyle("-jfx-checked-color: #0b65da"); } @Override diff --git a/desktop/src/main/java/haveno/desktop/components/JFXRadioButtonSkinHavenoStyle.java b/desktop/src/main/java/haveno/desktop/components/JFXRadioButtonSkinHavenoStyle.java index a10bfceec0..6a58647c53 100644 --- a/desktop/src/main/java/haveno/desktop/components/JFXRadioButtonSkinHavenoStyle.java +++ b/desktop/src/main/java/haveno/desktop/components/JFXRadioButtonSkinHavenoStyle.java @@ -52,6 +52,7 @@ public class JFXRadioButtonSkinHavenoStyle extends RadioButtonSkin { public JFXRadioButtonSkinHavenoStyle(JFXRadioButton control) { super(control); + control.setSelectedColor(Color.web("#0b65da")); final double radioRadius = 7; radio = new Circle(radioRadius);