Implement styling for ProgressBar
This commit is contained in:
parent
fce89d0ffe
commit
48b3b78a38
10 changed files with 151 additions and 67 deletions
15
wgpu/src/widget/progress_bar.rs
Normal file
15
wgpu/src/widget/progress_bar.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
//! Allow your users to perform actions by pressing a button.
|
||||
//!
|
||||
//! A [`Button`] has some local [`State`].
|
||||
//!
|
||||
//! [`Button`]: type.Button.html
|
||||
//! [`State`]: struct.State.html
|
||||
use crate::Renderer;
|
||||
|
||||
pub use iced_style::progress_bar::{Style, StyleSheet};
|
||||
|
||||
/// A bar that displays progress.
|
||||
///
|
||||
/// This is an alias of an `iced_native` progress bar with an
|
||||
/// `iced_wgpu::Renderer`.
|
||||
pub type ProgressBar = iced_native::ProgressBar<Renderer>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue