diff options
author | 2020-01-06 21:01:09 +0100 | |
---|---|---|
committer | 2020-01-06 21:01:09 +0100 | |
commit | d0dc7cebf9c352f4d14827fe47489788f59e61a1 (patch) | |
tree | 17699c2225001ecf23e6730b3a3d3cbcca92ca10 /wgpu/src/widget | |
parent | f7dfd6537429f94af63d75617c27bc998d72d9c8 (diff) | |
download | iced-d0dc7cebf9c352f4d14827fe47489788f59e61a1.tar.gz iced-d0dc7cebf9c352f4d14827fe47489788f59e61a1.tar.bz2 iced-d0dc7cebf9c352f4d14827fe47489788f59e61a1.zip |
Implement styling for `Scrollable`
Diffstat (limited to 'wgpu/src/widget')
-rw-r--r-- | wgpu/src/widget/scrollable.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/wgpu/src/widget/scrollable.rs b/wgpu/src/widget/scrollable.rs new file mode 100644 index 00000000..1d236105 --- /dev/null +++ b/wgpu/src/widget/scrollable.rs @@ -0,0 +1,13 @@ +//! Navigate an endless amount of content with a scrollbar. +use crate::Renderer; + +pub use iced_native::scrollable::State; +pub use iced_style::scrollable::{Scrollbar, Scroller, StyleSheet}; + +/// A widget that can vertically display an infinite amount of content +/// with a scrollbar. +/// +/// This is an alias of an `iced_native` scrollable with a default +/// `Renderer`. +pub type Scrollable<'a, Message> = + iced_native::Scrollable<'a, Message, Renderer>; |