Added the ability to change checkbox icon
This commit is contained in:
parent
0cb72f6971
commit
4fb0be1793
8 changed files with 123 additions and 9 deletions
|
|
@ -320,7 +320,7 @@ impl checkbox::StyleSheet for Theme {
|
|||
}
|
||||
|
||||
fn checkbox_appearance(
|
||||
checkmark_color: Color,
|
||||
icon_color: Color,
|
||||
base: palette::Pair,
|
||||
accent: palette::Pair,
|
||||
is_checked: bool,
|
||||
|
|
@ -331,7 +331,7 @@ fn checkbox_appearance(
|
|||
} else {
|
||||
base.color
|
||||
}),
|
||||
checkmark_color,
|
||||
icon_color,
|
||||
border_radius: 2.0,
|
||||
border_width: 1.0,
|
||||
border_color: accent.color,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue