Function card_height
pub fn card_height(
text_renderer: &mut TextRenderer,
theme: &Theme,
card: &ToastCard<'_>,
width: f64,
) -> f64Expand description
Height of a card width wide: the attribution line (the app, and how
long ago it arrived), the title, the body clamped to two lines, the
actions and the padding. A card never reserves less room than
paint_card paints into it.