cosmic::iced::widget::container

Function layout

source
pub fn layout(
    limits: &Limits,
    width: Length,
    height: Length,
    max_width: f32,
    max_height: f32,
    padding: Padding,
    horizontal_alignment: Horizontal,
    vertical_alignment: Vertical,
    layout_content: impl FnOnce(&Limits) -> Node,
) -> Node
Expand description

Computes the layout of a Container.