Skip to main content

centered

Function centered 

Source
pub(crate) fn centered(
    left: f32,
    width: f32,
    size: Size,
    row_height: f32,
) -> NSRect
Expand description

A frame width wide starting at left, holding something of size centered in a row row_height tall.