Skip to main content

chip_size

Function chip_size 

pub fn chip_size(
    label: &str,
    text_renderer: &mut TextRenderer,
    theme: &Theme,
) -> (f64, f64)
Expand description

The chip’s size for label: wrapped Caption text plus the chip’s pads.