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

@ -31,7 +31,7 @@ pub mod button {
pub mod checkbox {
//! Show toggle controls using checkboxes.
pub use iced_native::widget::checkbox::{Appearance, StyleSheet};
pub use iced_native::widget::checkbox::{Appearance, Icon, StyleSheet};
/// A box that can be checked.
pub type Checkbox<'a, Message, Renderer = crate::Renderer> =