i_slint_core::layout

Function box_layout_info

Source
pub fn box_layout_info(
    cells: Slice<'_, BoxLayoutCellData>,
    spacing: Coord,
    padding: &Padding,
    alignment: LayoutAlignment,
) -> LayoutInfo
Expand description

Return the LayoutInfo for a BoxLayout with the given cells.