pub fn horizontal_layout<L: Layoutable<C>, C: PixelColor>(
first_child: L,
first_child_weight: u32,
) -> LayoutableLinearLayout<C, Horizontal, SingleLinearLayout<L, C, Horizontal>>
Expand description
ยงArguments
first_child
: First layout element to stackfirst_child_weight
: Weight of this element when expansion or shrinking is needed to fit elements vertically
returns: LayoutableLinearLayout<C, Horizontal, SingleLinearLayout<L, C, Horizontal>>