Skip to main content

vertical_track

Function vertical_track 

pub fn vertical_track(rect: Rect, gutter: f64) -> Rect
Expand description

The track of a vertical bar along the trailing edge of rect, centred in the gutter column (metrics.scrollbar_gutter) a scroll owner keeps free for it: two thirds of the gutter thick, a sixth of it clear on each side and at both ends.