Skip to main content

estimated_notification_height

Function estimated_notification_height 

Source
pub fn estimated_notification_height(
    notification: &Notification,
    sizes: RowSizes,
    width: f32,
    in_full: bool,
) -> f32
Expand description

How tall the row of notification will be, set in sizes in a list width wide: near enough, for one that is a note (all of it, if a long one shows in_full), and exactly, for a short one.