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
Fill - Distribute views to fill a given space
- Fixed
Margin - Lay out objects with fixed margin between them
- Tight
- Lay out objects tightly, leaving no space between them
Traits§
- Element
Spacing ElementSpacingbase trait