cosmic
0.1.0
Module flex
Module Items
Enums
Functions
In cosmic::
iced_
widget::
renderer::
graphics::
core::
layout
cosmic
::
iced_widget
::
renderer
::
graphics
::
core
::
layout
Module
flex
Copy item path
source
Expand description
Distribute elements using a flex-based layout.
Enums
§
Axis
The main axis of a flex layout.
Functions
§
resolve
Computes the flex layout with the given axis and limits, applying spacing, padding and alignment to the items as needed.