Module embedded_layout::layout::linear::spacing
source · Expand description
Element spacing
ElementSpacing
can be used to change the distance of objects along the layout orientation.
The default spacing is Tight
, which means objects are placed right next to each other,
without any space between them.
Change the default spacing by calling LinearLayout::with_spacing
Structs
- Distribute views to fill a given space
- Lay out objects with fixed margin between them
- Lay out objects tightly, leaving no space between them
Traits
ElementSpacing
base trait