Skip to main content

RowContentBox

Trait RowContentBox 

pub trait RowContentBox {
    // Required method
    fn row_content_box(&self) -> Option<Rect>;
}
Expand description

The box a row’s own content takes, in the space its rect answers in: a list that paints its rows’ selection paints it around this box, as a row that paints its own does, rather than across the space the row’s layout keeps around what it shows.

A layout keeps the gutter its content stands in — a page centres its column inside one, a lane keeps the room for the column a row’s leading control takes — and none of it belongs to the row a person chose.

Required Methods§

fn row_content_box(&self) -> Option<Rect>

The box the content stands in, in the space of this widget’s own rect.

Implementors§

§

impl<L> RowContentBox for Arranged<L>
where L: Layout,