Added the ability to change checkbox icon

This commit is contained in:
Casper Storm 2023-02-16 14:13:04 +01:00
parent 0cb72f6971
commit 4fb0be1793
No known key found for this signature in database
GPG key ID: BABF49AA70C405C2
8 changed files with 123 additions and 9 deletions

View file

@ -6,8 +6,8 @@ use iced_core::{Background, Color};
pub struct Appearance {
/// The [`Background`] of the checkbox.
pub background: Background,
/// The checkmark [`Color`] of the checkbox.
pub checkmark_color: Color,
/// The icon [`Color`] of the checkbox.
pub icon_color: Color,
/// The border radius of the checkbox.
pub border_radius: f32,
/// The border width of the checkbox.