Implement theme styling for Radio

This commit is contained in:
Héctor Ramón Jiménez 2022-05-27 01:26:57 +02:00
parent d988d813d7
commit 28d09bfff1
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
10 changed files with 86 additions and 157 deletions

View file

@ -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<Theme>>;
pub type Radio<Message, Theme> =
iced_pure::widget::Radio<Message, crate::Renderer<Theme>>;
}
pub mod scrollable {

View file

@ -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<Theme>>;
pub type Radio<Message, Theme> =
iced_native::widget::Radio<Message, crate::Renderer<Theme>>;
}
pub mod scrollable {