Skip to main content

text_band

Function text_band 

pub fn text_band(floor: f64, content: f64, padding: f64) -> f64
Expand description

A structural band that follows the type: floor is the widget’s 1× default, which content + padding never undercuts at the default text scale, so 1× layouts are unchanged and only larger type grows the band.