Skip to main content

Module scroll_area

Module scroll_area 

Source
Available on crate feature scroll-area only.
Expand description

Scrollable regions with a thin, rounded scrollbar.

Structs§

ScrollArea
A scroll area builder. Convert it into an Element to render.

Enums§

Direction
Which way the content scrolls.
Interaction
How the pointer is interacting with one scrollbar.

Constants§

THICKNESS
Width of the scrollbar rail in logical pixels.

Functions§

floating_scrollbar
The thin scrollbar used when scrolling both ways. iced cannot reserve space for two scrollbars, so these float over the content’s edges.
interactions
Splits a scrollable status into vertical and horizontal interactions.
scroll_area
Creates a vertically scrolling area around content.
scrollbar
The thin scrollbar used by single-direction scroll areas. It sits beside the content rather than over it.
scroller_colour
Scroller colour for an interaction.
style
The iced scrollable style for a status.