Implement theme styling for Toggler
... and wire up theming to the `styling` example.
This commit is contained in:
parent
28d09bfff1
commit
3e2b6247f7
8 changed files with 102 additions and 99 deletions
|
|
@ -109,7 +109,7 @@ pub mod scrollable {
|
|||
|
||||
pub mod toggler {
|
||||
//! Show toggle controls using togglers.
|
||||
pub use iced_pure::widget::toggler::{Style, StyleSheet};
|
||||
pub use iced_pure::widget::toggler::{Appearance, StyleSheet};
|
||||
|
||||
/// A toggler widget.
|
||||
pub type Toggler<'a, Message, Theme> =
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ pub mod scrollable {
|
|||
|
||||
pub mod toggler {
|
||||
//! Show toggle controls using togglers.
|
||||
pub use iced_native::widget::toggler::{Style, StyleSheet};
|
||||
pub use iced_native::widget::toggler::{Appearance, StyleSheet};
|
||||
|
||||
/// A toggler widget.
|
||||
pub type Toggler<'a, Message, Theme> =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue