Skip to main content

next_scroll

Function next_scroll 

Source
pub fn next_scroll<R>(
    ui: &mut Ui,
    area: ScrollArea,
    add: impl FnOnce(&mut Ui) -> R,
) -> ScrollAreaOutput<R>
Expand description

Show area NeXT-style: the bar always there, its trough TROUGH, with scroller_chrome on top (one line = one interact row). egui paints the trough with extreme_bg_color, which is WHITE for text edits, so it is swapped for the scroller only and restored for add.