widget Rule added
This commit is contained in:
parent
00d66da0ce
commit
8d68c8584e
12 changed files with 331 additions and 8 deletions
|
|
@ -16,6 +16,7 @@ pub mod pane_grid;
|
|||
pub mod pick_list;
|
||||
pub mod progress_bar;
|
||||
pub mod radio;
|
||||
pub mod rule;
|
||||
pub mod scrollable;
|
||||
pub mod slider;
|
||||
pub mod text_input;
|
||||
|
|
@ -35,6 +36,8 @@ pub use progress_bar::ProgressBar;
|
|||
#[doc(no_inline)]
|
||||
pub use radio::Radio;
|
||||
#[doc(no_inline)]
|
||||
pub use rule::Rule;
|
||||
#[doc(no_inline)]
|
||||
pub use scrollable::Scrollable;
|
||||
#[doc(no_inline)]
|
||||
pub use slider::Slider;
|
||||
|
|
|
|||
10
glow/src/widget/rule.rs
Normal file
10
glow/src/widget/rule.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//! Display a horizontal or vertical rule for dividing content.
|
||||
|
||||
use crate::Renderer;
|
||||
|
||||
pub use iced_graphics::rule::{Style, StyleSheet};
|
||||
|
||||
/// Display a horizontal or vertical rule for dividing content.
|
||||
///
|
||||
/// This is an alias of an `iced_native` rule with an `iced_glow::Renderer`.
|
||||
pub type Rule = iced_native::Rule<Renderer>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue