summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Bingus <shankern@protonmail.com>2022-11-19 10:29:37 -0800
committerLibravatar bungoboingo <shankern@protonmail.com>2022-12-29 10:21:23 -0800
commitd91f4f6aa74d0693179a02167d626efa3ac4c20b (patch)
tree293852763793fbf6cb142fffac222ee7a87a1edf /src
parenta6d0d5773f0561a841a84b538523cbd97e91eccd (diff)
downloadiced-d91f4f6aa74d0693179a02167d626efa3ac4c20b.tar.gz
iced-d91f4f6aa74d0693179a02167d626efa3ac4c20b.tar.bz2
iced-d91f4f6aa74d0693179a02167d626efa3ac4c20b.zip
Add multidirectional scrolling capabilities to the existing Scrollable.
Diffstat (limited to '')
-rw-r--r--src/widget.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widget.rs b/src/widget.rs
index 76cea7be..ee30548c 100644
--- a/src/widget.rs
+++ b/src/widget.rs
@@ -99,7 +99,8 @@ pub mod radio {
pub mod scrollable {
//! Navigate an endless amount of content with a scrollbar.
pub use iced_native::widget::scrollable::{
- snap_to, style::Scrollbar, style::Scroller, Id, StyleSheet,
+ snap_to, style::Scrollbar, style::Scroller, Direction, Horizontal, Id,
+ StyleSheet,
};
/// A widget that can vertically display an infinite amount of content