Skip to main content

nav_rail_item_height

Function nav_rail_item_height 

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

Height of the rail tile for label in a rail width wide: one caption line more than nav_rail_row_height when the caption wraps.