Module 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§

DistributeFill
Distribute views to fill a given space
FixedMargin
Lay out objects with fixed margin between them
Tight
Lay out objects tightly, leaving no space between them

Traits§

ElementSpacing
ElementSpacing base trait