Implement styling for Checkbox
This commit is contained in:
parent
387fc0be26
commit
ed30b487d6
9 changed files with 181 additions and 47 deletions
9
wgpu/src/widget/checkbox.rs
Normal file
9
wgpu/src/widget/checkbox.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
//! Show toggle controls using checkboxes.
|
||||
use crate::Renderer;
|
||||
|
||||
pub use iced_style::checkbox::{Style, StyleSheet};
|
||||
|
||||
/// A box that can be checked.
|
||||
///
|
||||
/// This is an alias of an `iced_native` checkbox with an `iced_wgpu::Renderer`.
|
||||
pub type Checkbox<Message> = iced_native::Checkbox<Message, Renderer>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue