Module flex_style

Source
Expand description

Flex-container direction, alignment, and distribution.

§Examples

use ailloli_ui_core::style::flex_style::FlexStyle;
assert_eq!(FlexStyle::row().gap, 0.0);

Flex-container direction, spacing, alignment, and distribution.

Structs§

FlexStyle
Flex container style: direction, gap, and alignment.

Enums§

AlignItems
Cross-axis alignment of flex children.
FlexDirection
Main axis of a flex container (Row or Column).
JustifyContent
Main-axis distribution of flex children.