mirror of
https://github.com/bisq-network/bisq.git
synced 2025-01-19 05:44:05 +01:00
Redesign CheckBox
This commit is contained in:
parent
8e292ad883
commit
473d64404c
@ -206,7 +206,11 @@ bg color of non edit textFields: fafafa
|
||||
}
|
||||
|
||||
.jfx-button {
|
||||
-fx-background-color:-bs-new-grey;
|
||||
-fx-background-color: -bs-new-grey;
|
||||
}
|
||||
|
||||
.jfx-checkbox {
|
||||
-jfx-checked-color: -bs-green;
|
||||
}
|
||||
|
||||
/* Behavior */
|
||||
|
@ -17,13 +17,14 @@
|
||||
|
||||
package bisq.desktop.components;
|
||||
|
||||
import javafx.scene.control.CheckBox;
|
||||
import com.jfoenix.controls.JFXCheckBox;
|
||||
import com.jfoenix.skins.JFXCheckBoxSkin;
|
||||
|
||||
import javafx.scene.control.Skin;
|
||||
import javafx.scene.control.skin.CheckBoxSkin;
|
||||
|
||||
import static bisq.desktop.components.TooltipUtil.showTooltipIfTruncated;
|
||||
|
||||
public class AutoTooltipCheckBox extends CheckBox {
|
||||
public class AutoTooltipCheckBox extends JFXCheckBox {
|
||||
|
||||
public AutoTooltipCheckBox() {
|
||||
super();
|
||||
@ -38,8 +39,8 @@ public class AutoTooltipCheckBox extends CheckBox {
|
||||
return new AutoTooltipCheckBoxSkin(this);
|
||||
}
|
||||
|
||||
private class AutoTooltipCheckBoxSkin extends CheckBoxSkin {
|
||||
public AutoTooltipCheckBoxSkin(CheckBox checkBox) {
|
||||
private class AutoTooltipCheckBoxSkin extends JFXCheckBoxSkin {
|
||||
public AutoTooltipCheckBoxSkin(JFXCheckBox checkBox) {
|
||||
super(checkBox);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user