[−][src]Function iced_native::layout::flex::resolve
pub fn resolve<Message, Renderer>(
axis: Axis,
renderer: &Renderer,
limits: &Limits,
padding: f32,
spacing: f32,
align_items: Align,
items: &[Element<'_, Message, Renderer>]
) -> Node where
Renderer: Renderer,
Computes the flex layout with the given axis and limits, applying spacing, padding and alignment to the items as needed.
It returns a new layout Node
.