summaryrefslogblamecommitdiffstats
path: root/graphics/src/widget/scrollable.rs
blob: 3fdaf66855687c5e93005986392477469a2b04e9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                           
                    
 
                                               







                                                                      
                                                                    
//! Navigate an endless amount of content with a scrollbar.
use crate::Renderer;

pub use iced_native::widget::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, Backend> =
    iced_native::widget::Scrollable<'a, Message, Renderer<Backend>>;