From 28d09bfff1dde55190986bab10d7aaeb0ceb49de Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 27 May 2022 01:26:57 +0200 Subject: Implement theme styling for `Radio` --- src/pure/widget.rs | 6 +++--- src/widget.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/pure/widget.rs b/src/pure/widget.rs index e91cf56a..04975c0d 100644 --- a/src/pure/widget.rs +++ b/src/pure/widget.rs @@ -90,11 +90,11 @@ pub mod pick_list { pub mod radio { //! Create choices using radio buttons. - pub use iced_pure::widget::radio::{Style, StyleSheet}; + pub use iced_pure::widget::radio::{Appearance, StyleSheet}; /// A circular button representing a choice. - pub type Radio<'a, Message, Theme> = - iced_pure::widget::Radio<'a, Message, crate::Renderer>; + pub type Radio = + iced_pure::widget::Radio>; } pub mod scrollable { diff --git a/src/widget.rs b/src/widget.rs index 51a498b0..2f3600b6 100644 --- a/src/widget.rs +++ b/src/widget.rs @@ -106,11 +106,11 @@ pub mod pick_list { pub mod radio { //! Create choices using radio buttons. - pub use iced_native::widget::radio::{Style, StyleSheet}; + pub use iced_native::widget::radio::{Appearance, StyleSheet}; /// A circular button representing a choice. - pub type Radio<'a, Message, Theme> = - iced_native::widget::Radio<'a, Message, crate::Renderer>; + pub type Radio = + iced_native::widget::Radio>; } pub mod scrollable { -- cgit