Set radio buttons and checkboxes to Haveno blue

This commit is contained in:
ThisPC 2023-09-17 02:33:57 +08:00 committed by woodser
parent 649b3f64a5
commit b628acec59
2 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@ public class AutoTooltipCheckBox extends JFXCheckBox {
private class AutoTooltipCheckBoxSkin extends JFXCheckBoxSkin { private class AutoTooltipCheckBoxSkin extends JFXCheckBoxSkin {
public AutoTooltipCheckBoxSkin(JFXCheckBox checkBox) { public AutoTooltipCheckBoxSkin(JFXCheckBox checkBox) {
super(checkBox); super(checkBox);
checkBox.setStyle("-jfx-checked-color: #0b65da");
} }
@Override @Override

View File

@ -52,6 +52,7 @@ public class JFXRadioButtonSkinHavenoStyle extends RadioButtonSkin {
public JFXRadioButtonSkinHavenoStyle(JFXRadioButton control) { public JFXRadioButtonSkinHavenoStyle(JFXRadioButton control) {
super(control); super(control);
control.setSelectedColor(Color.web("#0b65da"));
final double radioRadius = 7; final double radioRadius = 7;
radio = new Circle(radioRadius); radio = new Circle(radioRadius);