Skip to main content

ActionsAlignment

Type Alias ActionsAlignment 

Source
pub type ActionsAlignment = Justify;
Expand description

Where the action buttons sit along the bottom row.

Aliased Type§

pub enum ActionsAlignment {
    Start,
    Center,
    End,
    SpaceBetween,
    SpaceAround,
    SpaceEvenly,
}

Variants§

§

Start

Packed at the start of the main axis.

§

Center

Packed at the middle.

§

End

Packed at the end of the main axis.

§

SpaceBetween

The first and last children touch the edges, the room shared between them.

§

SpaceAround

Equal space around each child: the outer gaps are half the inner ones.

§

SpaceEvenly

Equal space everywhere, the outer gaps included: with SpaceAround the end gaps are half the inner ones, which reads as a mistake when the row is the only thing on the line.