summaryrefslogtreecommitdiffstats
path: root/src/widget.rs
diff options
context:
space:
mode:
authorLibravatar Cory Forsstrom <cforsstrom18@gmail.com>2023-04-14 13:32:44 -0700
committerLibravatar Cory Forsstrom <cforsstrom18@gmail.com>2023-04-14 13:32:44 -0700
commitb623f280ed43b04cef16a82de4cdf13497b5d63e (patch)
tree278327c128ecc8716f3ad2b69c857363c548119a /src/widget.rs
parent4b05f42fd6d18bf572b772dd60d6a4309ea5f343 (diff)
downloadiced-b623f280ed43b04cef16a82de4cdf13497b5d63e.tar.gz
iced-b623f280ed43b04cef16a82de4cdf13497b5d63e.tar.bz2
iced-b623f280ed43b04cef16a82de4cdf13497b5d63e.zip
Add `scroll_to` operation for absolute scroll
Diffstat (limited to 'src/widget.rs')
-rw-r--r--src/widget.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget.rs b/src/widget.rs
index 44027811..87e82f47 100644
--- a/src/widget.rs
+++ b/src/widget.rs
@@ -109,8 +109,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, Properties,
- RelativeOffset, StyleSheet,
+ snap_to, style::Scrollbar, style::Scroller, AbsoluteOffset,
+ CurrentOffset, Id, Properties, RelativeOffset, StyleSheet,
};
/// A widget that can vertically display an infinite amount of content