Skip to main content

SCROLLBAR_COARSE_TARGET

Constant SCROLLBAR_COARSE_TARGET 

Source
pub const SCROLLBAR_COARSE_TARGET: f32 = 48.0;
Expand description

The width a scroll bar’s thumb must be reachable across for a finger.

Android’s ViewConfiguration.MIN_SCROLLBAR_TOUCH_TARGET — the bar keeps its 8–12 dp paint at every density and reaches this through [Widget::hit_outset], which moves nothing and repaints nothing.