### Change Style

To change the style of a checkbox, a solution is to define a stylesheet in the files folder.
This stylesheet to be added to the designer:
B4J Visual Designer:
MainForm.Stylesheets.Add(File.GetUri(File.DirAssets, "Main.css"))
Stylesheet main.css
/*
CHECKBOX
*/
.check-box .mark {
-fx-shape:
"M2,0L5,4L8,0L10,0L10,2L6,5L10,8L10,10L8,10L5,6L2,10L0,10L0,8L4,5L0,2L0,0Z";
}
.check-box:selected .mark {
-fx-background-color: #0181e2;
}

Changed: , Category: CheckBox, File: T6C171M1247.htm, ID: 1247