mirror of
https://github.com/boldsuck/haveno.git
synced 2025-01-18 14:04:31 +00:00
Set radio buttons and checkboxes to Haveno blue
This commit is contained in:
parent
649b3f64a5
commit
b628acec59
2 changed files with 2 additions and 0 deletions
|
@ -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 a new issue