Set radio buttons and checkboxes to Haveno blue
This commit is contained in:
parent
649b3f64a5
commit
b628acec59
@ -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
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user