ltk::text

Constant WRAP_PAD

Source
pub const WRAP_PAD: f32 = 4.0;
Expand description

Extra width a wrapping Text needs beyond its widest line: the lines wrap to the rect less this much, and a left-aligned line is inset by it. A host that sizes rects from its own measurement must add it.