summaryrefslogtreecommitdiffstats
path: root/src/widget.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-04-20 16:09:15 +0200
committerLibravatar GitHub <noreply@github.com>2023-04-20 16:09:15 +0200
commit4052ccf2b52acda99c6186e3494a582579ce62bb (patch)
tree353966fc0163ed8ec3e10957c12df6e285c2d485 /src/widget.rs
parent2155d0af1f76b12cd05a1b8dba1afc1e5ecdefe5 (diff)
parent8a711408de26c53cf6b18045ea19c677e8edbd95 (diff)
downloadiced-4052ccf2b52acda99c6186e3494a582579ce62bb.tar.gz
iced-4052ccf2b52acda99c6186e3494a582579ce62bb.tar.bz2
iced-4052ccf2b52acda99c6186e3494a582579ce62bb.zip
Merge pull request #1796 from tarkah/feat/scrollable-scroll-to
Add `scroll_to` operation
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..38995a45 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, Id,
+ Properties, RelativeOffset, StyleSheet, Viewport,
};
/// A widget that can vertically display an infinite amount of content