Remove redundant widget modules in subcrates
Instead, we can define the type aliases just once in the root crate!
This commit is contained in:
parent
7d9ab71790
commit
12c1a3f829
62 changed files with 225 additions and 780 deletions
|
|
@ -15,6 +15,13 @@ use std::{f32, u32};
|
|||
|
||||
pub use iced_style::scrollable::StyleSheet;
|
||||
|
||||
pub mod style {
|
||||
//! The styles of a [`Scrollable`].
|
||||
//!
|
||||
//! [`Scrollable`]: crate::widget::Scrollable
|
||||
pub use iced_style::scrollable::{Scrollbar, Scroller};
|
||||
}
|
||||
|
||||
/// A widget that can vertically display an infinite amount of content with a
|
||||
/// scrollbar.
|
||||
#[allow(missing_debug_implementations)]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//! Show toggle controls using togglers.
|
||||
|
||||
use crate::alignment;
|
||||
use crate::event;
|
||||
use crate::layout;
|
||||
|
|
@ -14,7 +13,7 @@ use crate::{
|
|||
|
||||
pub use iced_style::toggler::{Style, StyleSheet};
|
||||
|
||||
/// A toggler widget
|
||||
/// A toggler widget.
|
||||
///
|
||||
/// # Example
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue